Merge pull request #803 from nsoranzo/update_dep_only_on_pypa_repo
Update dependencies workflow only on pypa repo
This commit is contained in:
@@ -8,6 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
update-dependencies:
|
update-dependencies:
|
||||||
name: Update dependencies
|
name: Update dependencies
|
||||||
|
if: github.repository_owner == 'pypa' || github.event_name != 'schedule'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -24,6 +25,7 @@ jobs:
|
|||||||
# run the GHA tests.
|
# run the GHA tests.
|
||||||
- uses: tibdex/github-app-token@v1
|
- uses: tibdex/github-app-token@v1
|
||||||
id: generate-token
|
id: generate-token
|
||||||
|
if: github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel'
|
||||||
with:
|
with:
|
||||||
app_id: ${{ secrets.CIBUILDWHEEL_BOT_APP_ID }}
|
app_id: ${{ secrets.CIBUILDWHEEL_BOT_APP_ID }}
|
||||||
private_key: ${{ secrets.CIBUILDWHEEL_BOT_APP_PRIVATE_KEY }}
|
private_key: ${{ secrets.CIBUILDWHEEL_BOT_APP_PRIVATE_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user