Skip to content

Commit

Permalink
Update .github/workflows/check_pr_label.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
  • Loading branch information
helto4real and ludeeus committed May 1, 2021
1 parent 7711451 commit 848ee71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check_pr_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:
run: |
labels=$(jq -r '.pull_request.labels[] | .name' ${{github.event_path }} | grep 'pr:')
if [[ ! $labels ]]; then
echo "You need to provide one or more labels that starts with 'pr:'"
echo "::error::You need to provide one or more labels that starts with 'pr:'"
exit 1
fi
exit 0

0 comments on commit 848ee71

Please sign in to comment.