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