Update dependencies workflow only on pypa repo

Currently this is run also on forks, where it fails at the
generate-token step.
This commit is contained in:
Nicola Soranzo
2021-08-24 15:25:05 +01:00
parent 0a4b5e2c3e
commit eab043b05b
@@ -8,6 +8,7 @@ on:
jobs:
update-dependencies:
name: Update dependencies
if: github.repository_owner == 'pypa'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2