File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 6
6
release :
7
7
types : [ published ]
8
8
pull_request :
9
+ pull_request_target :
10
+ types : [ labeled ]
9
11
permissions :
10
12
contents : read
11
13
jobs :
12
14
install_and_run_e2e_tests :
15
+ if : ${{ github.event.pull_request.head.repo.fork == false || (github.event.pull_request.head.repo.fork == true && contains(github.event.pull_request.labels.*.name,'Approve E2E Test')) }}
13
16
runs-on : ubuntu-latest
14
17
strategy :
15
18
matrix :
46
49
extra : --repo Legitify-E2E/bad_branch_protection
47
50
48
51
steps :
49
- - uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # ratchet:actions/checkout@v3
52
+ - name : Checkout non-fork
53
+ if : ${{ github.event.pull_request.head.repo.fork == false }}
54
+ uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # ratchet:actions/checkout@v3
55
+ - name : Checkout fork
56
+ if : ${{ github.event.pull_request.head.repo.fork == true }}
57
+ uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # ratchet:actions/checkout@v3
58
+ with :
59
+ ref : ${{ github.event.pull_request.head.sha }}
50
60
- uses : actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # ratchet:actions/setup-go@v3
51
61
with :
52
62
go-version : 1.19
Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ instance_8B699E54671FEE1FAC02B830C651450F
3
3
instance_8326D270DF418129D65CC0F25077233E
4
4
instance_5BB71F8938BAD8D688018A6F9505C44D
5
5
instance_0A8CFE3A09E996BDA5D889138D351B7E
6
+ instance_5C5D072C7F47D0E7F38048F9550E3EAA
7
+ instance_E553D24593AB8E5DE68FC9469FEF895D
You can’t perform that action at this time.
0 commit comments