Skip to content

Commit

Permalink
fix: fix security proposal filterLabel
Browse files Browse the repository at this point in the history
Signed-off-by: RafaelGSS <[email protected]>
  • Loading branch information
RafaelGSS committed Aug 4, 2023
1 parent bdc9a6b commit 55a30a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/prepare_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class ReleasePreparation {
this.ltsCodename = '';
this.date = '';
this.config = getMergedConfig(this.dir);
this.filterLabels = argv.filterLabels && argv.filterLabels.split(',');
this.filterLabels = argv.filterLabel && argv.filterLabel.split(',');

// Ensure the preparer has set an upstream and username.
if (this.warnForMissing()) {
Expand Down
4 changes: 2 additions & 2 deletions lib/queries/PRs.gql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
query PRs($owner: String!, $repo: String!) {
query PRs($owner: String!, $repo: String!, $labels: [String!]) {
repository(owner: $owner, name: $repo) {
pullRequests(states: [OPEN], first: 20) {
pullRequests(states: [OPEN], first: 20, labels: $labels) {
nodes {
title,
url,
Expand Down

0 comments on commit 55a30a5

Please sign in to comment.