Skip to content

Commit

Permalink
Correct label check
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy committed Aug 20, 2019
1 parent b63bd4b commit 39ceaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: macOS-10.14
steps:
- name: Block if a pull request is from a forked repository and it hasn't been labeled by a maintainer.
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels, 'CI approved')
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'CI approved')
run: exit 255
buildsh:
strategy:
Expand Down

0 comments on commit 39ceaf6

Please sign in to comment.