Skip to content

Commit

Permalink
Prevent user added issue labels from being incorrectly removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Jun 22, 2023
1 parent 6a7c4c0 commit 4aa78aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/label-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
const prefixes = new Set();
config['config']['auto-label']
.flatMap(labelConfig => labelConfig.labels)
.filter(label => label.includes('/'))
.map(label => label.split('/')[0])
.forEach(prefix => prefixes.add(prefix));
Expand Down

0 comments on commit 4aa78aa

Please sign in to comment.