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