Skip to content

Commit

Permalink
Revert "action: restrict label check to third-party PRs (#62)"
Browse files Browse the repository at this point in the history
This reverts commit 372530b.
  • Loading branch information
woodruffw committed Dec 19, 2022
1 parent 372530b commit b76987f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ runs:
using: "composite"
steps:
- name: Check permissions
if: |
github.event_name == 'pull_request_target'
&& github.event.pull_request_target.head.repo.fork
&& !contains(github.event.pull_request.labels.*.name, 'safe to test')
if: github.event_name == 'pull_request_target' && !contains(github.event.pull_request.labels.*.name, 'safe to test')
run: |
echo "This pull request is not tagged with the 'safe to test' label"
exit 1
Expand Down

0 comments on commit b76987f

Please sign in to comment.