Skip to content

Commit a302d86

Browse files
committed
Match on pull_request_target
match on pull_request as well on event name when testing Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent 3bf38a3 commit a302d86

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
@@ -23,7 +23,7 @@ jobs:
2323
if: >
2424
github.event_name == 'schedule' ||
2525
(github.event_name == 'workflow_dispatch') ||
26-
(github.event_name == 'pull_request_target' && (github.event.label.name == 'e2e' || contains(github.event.pull_request.labels.*.name, 'e2e')))
26+
(startsWith(github.event_name, 'pull_request') && contains(github.event.pull_request.labels.*.name, 'e2e'))
2727
2828
concurrency:
2929
group: ${{ github.workflow }}-${{ matrix.provider }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)