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 4db7c61 commit 720a27aCopy full SHA for 720a27a
.github/workflows/run-tests.yml
@@ -2,7 +2,7 @@ name: Run tests
2
3
on:
4
pull_request_target:
5
- types: [opened, synchronize]
+ types: [opened, synchronize, labeled, unlabeled]
6
schedule:
7
- cron: '0 0 * * *'
8
@@ -11,7 +11,7 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- name: Check user permissions
14
- if: ${{ github.event_name == 'pull_request' && github.event.pull_request.author_association != 'MEMBER' }}
+ if: ${{ startsWith(github.event_name, 'pull_request') && github.event.pull_request.author_association != 'MEMBER' }}
15
run: |
16
echo "Action was not triggered by an organization member. Exiting now."
17
exit 1
0 commit comments