Skip to content

Commit d81d616

Browse files
committed
use a static list for the list of allowed users
github.event.pull_request.user.permissions is not working
1 parent a9e8db6 commit d81d616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: >
3232
github.event_name == 'schedule' ||
3333
github.event_name == 'workflow_dispatch' ||
34-
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.user.permissions || fromJSON('{"push":false}'), 'push'))
34+
(github.event_name == 'pull_request_target' && contains(fromJSON('["zakisk", "savitaashture", "chmouel", "vdemeester", "PuneetPunamiya", "enarha", "aThorp96", "sm43", "dependabot[bot]"]'), github.event.pull_request.user.login))
3535
concurrency:
3636
group: ${{ github.workflow }}-${{ matrix.provider }}-${{ github.event.pull_request.number || github.ref_name }}
3737
cancel-in-progress: true

0 commit comments

Comments
 (0)