Skip to content

Commit a9e8db6

Browse files
committed
ci: Fix e2e running permissions again
trying to fix the runs not starting
1 parent 8dadaa9 commit a9e8db6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
if: >
3232
github.event_name == 'schedule' ||
3333
github.event_name == 'workflow_dispatch' ||
34-
(github.event_name == 'pull_request_target' && github.event.repository.permissions.write == true)
35-
34+
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.user.permissions || fromJSON('{"push":false}'), 'push'))
3635
concurrency:
3736
group: ${{ github.workflow }}-${{ matrix.provider }}-${{ github.event.pull_request.number || github.ref_name }}
3837
cancel-in-progress: true

0 commit comments

Comments
 (0)