Skip to content

Commit

Permalink
fix: fix security proposal filterLabel (#717)
Browse files Browse the repository at this point in the history
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
  • Loading branch information
RafaelGSS committed Aug 7, 2023
1 parent 5d5de49 commit 4bf1e32
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 4bf1e32

Please sign in to comment.