Skip to content
Merged
Prev Previous commit
Next Next commit
CI: do not run Bump dependencies workflow on forks
  • Loading branch information
Kobzol committed Jun 25, 2023
commit cb06c973c7e012517adca311d08572bcb548f510
3 changes: 3 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -76,6 +78,7 @@ jobs:
retention-days: 1

pr:
if: github.repository_owner == 'rust-lang'
name: amend PR
needs: update
runs-on: ubuntu-latest
Expand Down