1
1
name : E2E PR Blocking
2
2
on :
3
- pull_request_target :
3
+ pull_request :
4
4
types : [opened, synchronize, reopened, ready_for_review]
5
5
branches :
6
6
- main
16
16
jobs :
17
17
manager-image :
18
18
name : Build and push manager image
19
- if : github.event_name != 'pull_request_target ' || !github.event.pull_request.draft
19
+ if : github.event_name != 'pull_request ' || !github.event.pull_request.draft
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- name : Checkout repository
23
23
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24
24
with :
25
- ref : ${{ github.event.pull_request.head.sha }}
26
25
fetch-depth : 0
27
26
28
27
- name : Build and push manager image
@@ -31,20 +30,18 @@ jobs:
31
30
32
31
test-release :
33
32
name : Test Release
34
- if : github.event_name != 'pull_request_target ' || !github.event.pull_request.draft
33
+ if : github.event_name != 'pull_request ' || !github.event.pull_request.draft
35
34
runs-on : ubuntu-latest
36
35
steps :
37
36
- name : checkout
38
37
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
39
- with :
40
- ref : ${{ github.event.pull_request.head.sha }}
41
38
- name : Test Release
42
39
id : manager-image
43
40
uses : ./.github/actions/test-release
44
41
45
42
e2e-hcloud-basic :
46
43
name : Test Hcloud Basic
47
- if : github.event_name != 'pull_request_target ' || !github.event.pull_request.draft
44
+ if : github.event_name != 'pull_request ' || !github.event.pull_request.draft
48
45
concurrency : ci-${{ github.ref }}-e2e-basic
49
46
runs-on : ubuntu-latest
50
47
permissions :
56
53
steps :
57
54
- name : checkout
58
55
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
59
- with :
60
- ref : ${{ github.event.pull_request.head.sha }}
61
56
- name : Run e2e Test
62
57
id : e2e
63
58
uses : ./.github/actions/e2e
68
63
69
64
e2e-hetzner-basic :
70
65
name : Test Hetzner Baremetal Basic
71
- if : github.event_name != 'pull_request_target ' || !github.event.pull_request.draft
66
+ if : github.event_name != 'pull_request ' || !github.event.pull_request.draft
72
67
concurrency : ci-${{ github.ref }}-e2e-basic-hetzner
73
68
runs-on : ubuntu-latest
74
69
permissions :
80
75
steps :
81
76
- name : checkout
82
77
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
83
- with :
84
- ref : ${{ github.event.pull_request.head.sha }}
85
78
- name : Run e2e Test
86
79
id : e2e-bm
87
80
uses : ./.github/actions/e2e
0 commit comments