Add GHA environment to update-dependencies workflow (#2778)
* Add GHA environment to update-dependencies workflow See #2770 * activate the create-pull-request action to see if it works * Revert "activate the create-pull-request action to see if it works" This reverts commit b44f94d7a5c852b93b16157831b698f9c250628d. * Only request the environment when we need it
This commit is contained in:
@@ -23,6 +23,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
environment: ${{ github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel' && 'update-dependencies-workflow' || '' }}
|
||||
steps:
|
||||
|
||||
# we use this step to grab a Github App auth token, so that PRs generated by this workflow
|
||||
|
||||
Reference in New Issue
Block a user