We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c6cc9 commit cf75564Copy full SHA for cf75564
.github/workflows/test-warehouse.yml
@@ -84,7 +84,7 @@ jobs:
84
- name: Set requires approval output
85
id: set-output
86
run: |
87
- if [[ "${{ github.event_name }}" == "pull_request_target" && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then
+ if [[ "${{ github.event_name }}" =~ ^pull_request && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then
88
echo "requires_approval=true" >> $GITHUB_OUTPUT
89
else
90
echo "requires_approval=false" >> $GITHUB_OUTPUT
0 commit comments