Skip to content

Commit 720a27a

Browse files
Update run-tests.yml
1 parent 4db7c61 commit 720a27a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Run tests
22

33
on:
44
pull_request_target:
5-
types: [opened, synchronize]
5+
types: [opened, synchronize, labeled, unlabeled]
66
schedule:
77
- cron: '0 0 * * *'
88

@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check user permissions
14-
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.author_association != 'MEMBER' }}
14+
if: ${{ startsWith(github.event_name, 'pull_request') && github.event.pull_request.author_association != 'MEMBER' }}
1515
run: |
1616
echo "Action was not triggered by an organization member. Exiting now."
1717
exit 1

0 commit comments

Comments
 (0)