From fa996f1794182f19d1453f60b1fdc7076d388e29 Mon Sep 17 00:00:00 2001 From: Antonio Ventilii Date: Mon, 6 Jan 2025 04:36:08 -0300 Subject: [PATCH] fix(ci): add token to release notes CI (#3890) # Motivation Action `release-drafter/release-drafter` is missing the GITHUB token. --- .github/workflows/release-notes.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 583bbc3e8b..b1e66531a7 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -12,12 +12,22 @@ jobs: runs-on: ubuntu-24.04 steps: + + - name: Create GitHub App Token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }} + private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }} + - name: Checkout repository uses: actions/checkout@v4 - name: Publish Release Notes id: publish_release uses: release-drafter/release-drafter@v6 + env: + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} with: version: ${{ github.ref_name }} tag: ${{ github.ref_name }}