Skip to content

Commit

Permalink
Add error annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
yut23 committed May 10, 2024
1 parent 01f3a68 commit fed56da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
let labels = context.payload.pull_request.labels;
if (labels.filter(l => requiredLabels.includes(l.name)).length === 0) {
core.error('Missing required label');
core.setFailed('Please label this pull request with one of: bug, enhancement, new feature, docs or infrastructure.');
}

0 comments on commit fed56da

Please sign in to comment.