Unified · Split
| @@ -393,6 +393,14 @@ jobs: · 392 unmodified lines | ||
| 393 | 393 | runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404 |
| 394 | 394 | timeout-minutes: 10 |
| 395 | 395 | steps: |
| 396 | + - id: app_token | |
| 397 | + name: Mint release app token | |
| 398 | + uses: actions/create-github-app-token@v2 | |
| 399 | + with: | |
| 400 | + app-id: ${{ secrets.RELEASE_APP_ID }} | |
| 401 | + private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }} | |
| 402 | + owner: ${{ github.repository_owner }} | |
| 403 | + | |
| 396 | 404 | - name: Checkout |
| 397 | 405 | uses: actions/checkout@v6 |
| 398 | 406 | with: |
| @@ -477,6 +485,7 @@ jobs: · 78 unmodified lines | ||
| 477 | 485 | release-assets/*.blockmap |
| 478 | 486 | release-assets/*.yml |
| 479 | 487 | fail_on_unmatched_files: true |
| 488 | + token: ${{ steps.app_token.outputs.token }} | |
| 480 | 489 | |
| 481 | 490 | - name: Publish first release |
| 482 | 491 | if: needs.preflight.outputs.previous_tag == '' |
| @@ -496,6 +505,7 @@ jobs: · 13 unmodified lines | ||
| 496 | 505 | release-assets/*.blockmap |
| 497 | 506 | release-assets/*.yml |
| 498 | 507 | fail_on_unmatched_files: true |
| 508 | + token: ${{ steps.app_token.outputs.token }} | |
| 499 | 509 | |
| 500 | 510 | finalize: |
| 501 | 511 | name: Finalize release |