CI: do not run Bump dependencies workflow on forks

This commit is contained in:
Jakub Beránek 2023-06-25 15:55:27 +02:00
parent 0d03812e24
commit cb06c973c7
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

View File

@ -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