CI: do not run Bump dependencies workflow on forks
This commit is contained in:
parent
0d03812e24
commit
cb06c973c7
3
.github/workflows/dependencies.yml
vendored
3
.github/workflows/dependencies.yml
vendored
@ -25,6 +25,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
not-waiting-on-bors:
|
not-waiting-on-bors:
|
||||||
|
if: github.repository_owner == 'rust-lang'
|
||||||
name: skip if S-waiting-on-bors
|
name: skip if S-waiting-on-bors
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -43,6 +44,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
update:
|
update:
|
||||||
|
if: github.repository_owner == 'rust-lang'
|
||||||
name: update dependencies
|
name: update dependencies
|
||||||
needs: not-waiting-on-bors
|
needs: not-waiting-on-bors
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -76,6 +78,7 @@ jobs:
|
|||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
|
if: github.repository_owner == 'rust-lang'
|
||||||
name: amend PR
|
name: amend PR
|
||||||
needs: update
|
needs: update
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user