Skip to content

Commit 843b6a2

Browse files
authored
ci: Fix PR conditions (envoyproxy#40005)
Signed-off-by: Ryan Northey <[email protected]>
1 parent c5508e5 commit 843b6a2

16 files changed

+32
-32
lines changed

.github/workflows/envoy-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
pull-requests: read
3838
if: |
3939
github.event.workflow_run.conclusion == 'success'
40-
&& github.event.workflow_run.head_repository.full_name == github.repository
40+
&& github.event.workflow_run.repository.full_name == github.repository
4141
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
4242
&& (github.repository == 'envoyproxy/envoy' || vars.ENVOY_CI)
4343
uses: ./.github/workflows/_load.yml
@@ -111,7 +111,7 @@ jobs:
111111
if: |
112112
always()
113113
&& github.event.workflow_run.conclusion == 'success'
114-
&& github.event.workflow_run.head_repository.full_name == github.repository
114+
&& github.event.workflow_run.repository.full_name == github.repository
115115
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
116116
&& (fromJSON(needs.load.outputs.request).run.check-build
117117
|| fromJSON(needs.load.outputs.request).run.check-coverage

.github/workflows/envoy-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -87,7 +87,7 @@ jobs:
8787
if: |
8888
always()
8989
&& github.event.workflow_run.conclusion == 'success'
90-
&& github.event.workflow_run.head_repository.full_name == github.repository
90+
&& github.event.workflow_run.repository.full_name == github.repository
9191
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
9292
&& fromJSON(needs.load.outputs.request).run.build-macos
9393
needs:

.github/workflows/envoy-prechecks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pull-requests: read
3636
if: |
3737
github.event.workflow_run.conclusion == 'success'
38-
&& github.event.workflow_run.head_repository.full_name == github.repository
38+
&& github.event.workflow_run.repository.full_name == github.repository
3939
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
4040
uses: ./.github/workflows/_load.yml
4141
with:
@@ -108,7 +108,7 @@ jobs:
108108
if: |
109109
always()
110110
&& github.event.workflow_run.conclusion == 'success'
111-
&& github.event.workflow_run.head_repository.full_name == github.repository
111+
&& github.event.workflow_run.repository.full_name == github.repository
112112
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
113113
&& (fromJSON(needs.load.outputs.request).run.precheck-format
114114
|| fromJSON(needs.load.outputs.request).run.precheck-deps

.github/workflows/envoy-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
pull-requests: read
4141
if: |
4242
github.event.workflow_run.conclusion == 'success'
43-
&& github.event.workflow_run.head_repository.full_name == github.repository
43+
&& github.event.workflow_run.repository.full_name == github.repository
4444
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
4545
&& (github.repository == 'envoyproxy/envoy' || vars.ENVOY_CI)
4646
uses: ./.github/workflows/_load.yml
@@ -122,7 +122,7 @@ jobs:
122122
if: |
123123
always()
124124
&& github.event.workflow_run.conclusion == 'success'
125-
&& github.event.workflow_run.head_repository.full_name == github.repository
125+
&& github.event.workflow_run.repository.full_name == github.repository
126126
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
127127
&& (fromJSON(needs.load.outputs.request).run.publish
128128
|| fromJSON(needs.load.outputs.request).run.verify)

.github/workflows/mobile-android_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -174,7 +174,7 @@ jobs:
174174
if: |
175175
always()
176176
&& github.event.workflow_run.conclusion == 'success'
177-
&& github.event.workflow_run.head_repository.full_name == github.repository
177+
&& github.event.workflow_run.repository.full_name == github.repository
178178
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
179179
&& fromJSON(needs.load.outputs.request).run.mobile-android
180180
needs:

.github/workflows/mobile-android_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -81,7 +81,7 @@ jobs:
8181
if: |
8282
always()
8383
&& github.event.workflow_run.conclusion == 'success'
84-
&& github.event.workflow_run.head_repository.full_name == github.repository
84+
&& github.event.workflow_run.repository.full_name == github.repository
8585
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
8686
&& fromJSON(needs.load.outputs.request).run.mobile-android-tests
8787
needs:

.github/workflows/mobile-asan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -65,7 +65,7 @@ jobs:
6565
if: |
6666
always()
6767
&& github.event.workflow_run.conclusion == 'success'
68-
&& github.event.workflow_run.head_repository.full_name == github.repository
68+
&& github.event.workflow_run.repository.full_name == github.repository
6969
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
7070
&& fromJSON(needs.load.outputs.request).run.mobile-asan
7171
needs:

.github/workflows/mobile-cc_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -65,7 +65,7 @@ jobs:
6565
if: |
6666
always()
6767
&& github.event.workflow_run.conclusion == 'success'
68-
&& github.event.workflow_run.head_repository.full_name == github.repository
68+
&& github.event.workflow_run.repository.full_name == github.repository
6969
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
7070
&& fromJSON(needs.load.outputs.request).run.mobile-cc
7171
needs:

.github/workflows/mobile-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -82,7 +82,7 @@ jobs:
8282
if: |
8383
always()
8484
&& github.event.workflow_run.conclusion == 'success'
85-
&& github.event.workflow_run.head_repository.full_name == github.repository
85+
&& github.event.workflow_run.repository.full_name == github.repository
8686
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
8787
&& fromJSON(needs.load.outputs.request).run.mobile-coverage
8888
needs:

.github/workflows/mobile-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pull-requests: read
3333
if: |
3434
github.event.workflow_run.conclusion == 'success'
35-
&& github.event.workflow_run.head_repository.full_name == github.repository
35+
&& github.event.workflow_run.repository.full_name == github.repository
3636
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
3737
uses: ./.github/workflows/_load.yml
3838
with:
@@ -94,7 +94,7 @@ jobs:
9494
if: |
9595
always()
9696
&& github.event.workflow_run.conclusion == 'success'
97-
&& github.event.workflow_run.head_repository.full_name == github.repository
97+
&& github.event.workflow_run.repository.full_name == github.repository
9898
&& contains(fromJSON('["pull_request_target", "push", "schedule"]'), github.event.workflow_run.event)
9999
&& fromJSON(needs.load.outputs.request).run.mobile-docs
100100
needs:

0 commit comments

Comments
 (0)