Skip to content

Commit f948ce7

Browse files
authored
Rollup merge of #113029 - Kobzol:ci-fork-update, r=Mark-Simulacrum
CI: do not run Bump dependencies workflow on forks I haven't found a prettier way of doing this. We can possibly only use the condition on the `pr` job (to just disallow the creation of the PR), or only on the `not-waiting-on-bors` step, as if it doesn't run, the following job (probably) also shouldn't run. Fixes: https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/.22Weekly.20cargo.20update.22.20on.20forks r? `@Mark-Simulacrum`
2 parents 019f43e + cb06c97 commit f948ce7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/dependencies.yml

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ env:
2525

2626
jobs:
2727
not-waiting-on-bors:
28+
if: github.repository_owner == 'rust-lang'
2829
name: skip if S-waiting-on-bors
2930
runs-on: ubuntu-latest
3031
steps:
@@ -43,6 +44,7 @@ jobs:
4344
fi
4445
4546
update:
47+
if: github.repository_owner == 'rust-lang'
4648
name: update dependencies
4749
needs: not-waiting-on-bors
4850
runs-on: ubuntu-latest
@@ -76,6 +78,7 @@ jobs:
7678
retention-days: 1
7779

7880
pr:
81+
if: github.repository_owner == 'rust-lang'
7982
name: amend PR
8083
needs: update
8184
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)