|
20 | 20 | if: github.repository_owner == 'pypa' || github.event_name != 'schedule'
|
21 | 21 | runs-on: ubuntu-latest
|
22 | 22 | steps:
|
| 23 | + |
| 24 | + # we use this step to grab a Github App auth token, so that PRs generated by this workflow |
| 25 | + # run the GHA tests. |
| 26 | + - uses: actions/create-github-app-token@v1 |
| 27 | + id: generate-token |
| 28 | + if: github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel' |
| 29 | + with: |
| 30 | + app_id: ${{ secrets.CIBUILDWHEEL_BOT_APP_ID }} |
| 31 | + private_key: ${{ secrets.CIBUILDWHEEL_BOT_APP_PRIVATE_KEY }} |
| 32 | + |
23 | 33 | - uses: actions/checkout@v4
|
24 | 34 |
|
25 | 35 |
|
|
33 | 43 | - name: "Run update: docs user projects"
|
34 | 44 | run: nox --force-color -s update_proj -- --auth=${{ secrets.GITHUB_TOKEN }}
|
35 | 45 |
|
36 |
| - # we use this step to grab a Github App auth token, so that PRs generated by this workflow |
37 |
| - # run the GHA tests. |
38 |
| - - uses: tibdex/github-app-token@v2 |
39 |
| - id: generate-token |
40 |
| - if: github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel' |
41 |
| - with: |
42 |
| - app_id: ${{ secrets.CIBUILDWHEEL_BOT_APP_ID }} |
43 |
| - private_key: ${{ secrets.CIBUILDWHEEL_BOT_APP_PRIVATE_KEY }} |
44 |
| - |
45 | 46 | - name: Create Pull Request
|
46 | 47 | if: github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel'
|
47 | 48 | uses: peter-evans/create-pull-request@v7
|
|
53 | 54 |
|
54 | 55 | PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
|
55 | 56 | branch: update-dependencies-pr
|
56 |
| - committer: "cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>" |
57 |
| - author: "cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>" |
| 57 | + sign-commits: true |
58 | 58 | token: ${{ steps.generate-token.outputs.token }}
|
59 | 59 | delete-branch: true
|
0 commit comments