diff options
| author | Takayuki Maeda <takoyaki0316@gmail.com> | 2023-06-26 01:50:28 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-26 01:50:28 +0900 |
| commit | f948ce7362edc92f853d3953e111ddd8c1cbc7fd (patch) | |
| tree | 4c3011c58d6661ccc221fc4912acd9850381524e | |
| parent | 019f43e6c2b939470e9b08e61a37bab012d9863b (diff) | |
| parent | cb06c973c7e012517adca311d08572bcb548f510 (diff) | |
| download | rust-f948ce7362edc92f853d3953e111ddd8c1cbc7fd.tar.gz rust-f948ce7362edc92f853d3953e111ddd8c1cbc7fd.zip | |
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`
| -rw-r--r-- | .github/workflows/dependencies.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 2eccd28e5bb..26d2ba636f3 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -25,6 +25,7 @@ env: jobs: not-waiting-on-bors: + if: github.repository_owner == 'rust-lang' name: skip if S-waiting-on-bors runs-on: ubuntu-latest steps: @@ -43,6 +44,7 @@ jobs: fi update: + if: github.repository_owner == 'rust-lang' name: update dependencies needs: not-waiting-on-bors runs-on: ubuntu-latest @@ -76,6 +78,7 @@ jobs: retention-days: 1 pr: + if: github.repository_owner == 'rust-lang' name: amend PR needs: update runs-on: ubuntu-latest |
