Skip to content

Commit

Permalink
Reverting if check
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei committed Jul 19, 2024
1 parent 14d38b8 commit 4f31664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Ensure PR has at least one label
if: ${{ github.event.pull_request.labels == '' || github.event.pull_request.labels == '[]' }}
if: ${{ github.event.pull_request.labels[0] == null }}
run: |
echo "No labels found: please add at least one label to the PR"
exit 1
Expand Down

0 comments on commit 4f31664

Please sign in to comment.