We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d5de49 commit 4bf1e32Copy full SHA for 4bf1e32
2 files changed
lib/prepare_release.js
@@ -32,7 +32,7 @@ export default class ReleasePreparation {
32
this.ltsCodename = '';
33
this.date = '';
34
this.config = getMergedConfig(this.dir);
35
- this.filterLabels = argv.filterLabels && argv.filterLabels.split(',');
+ this.filterLabels = argv.filterLabel && argv.filterLabel.split(',');
36
37
// Ensure the preparer has set an upstream and username.
38
if (this.warnForMissing()) {
lib/queries/PRs.gql
@@ -1,6 +1,6 @@
1
-query PRs($owner: String!, $repo: String!) {
+query PRs($owner: String!, $repo: String!, $labels: [String!]) {
2
repository(owner: $owner, name: $repo) {
3
- pullRequests(states: [OPEN], first: 20) {
+ pullRequests(states: [OPEN], first: 20, labels: $labels) {
4
nodes {
5
title,
6
url,
0 commit comments