diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 9c6cea0f..8708f232 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -95,10 +95,16 @@ jobs: needs: [Lint, Test] if: github.event.head_commit.message != 'Update package version' steps: + - name: Generate GitHub App token + id: app-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout repo uses: actions/checkout@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ steps.app-token.outputs.token }} - name: Setup Python uses: actions/setup-python@v5 with: diff --git a/changelog.d/fix-app-token.fixed.md b/changelog.d/fix-app-token.fixed.md new file mode 100644 index 00000000..2516edc2 --- /dev/null +++ b/changelog.d/fix-app-token.fixed.md @@ -0,0 +1 @@ +Use GitHub App token in push workflow Versioning job to enable auto-triggering of Phase 2 (Publish)