diff --git a/.github/workflows/capabilities_and_config.yaml b/.github/workflows/capabilities_and_config.yaml index 73ddacc6..f4e108cd 100644 --- a/.github/workflows/capabilities_and_config.yaml +++ b/.github/workflows/capabilities_and_config.yaml @@ -11,10 +11,19 @@ jobs: runs-on: ubuntu-latest steps: + - name: Mint baton-ci app token + id: ci-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ vars.BATON_CI_CLIENT_ID }} + private-key: ${{ secrets.BATON_CI_SECRET_KEY }} + owner: ${{ github.repository_owner }} + repositories: ${{ github.event.repository.name }} + - name: Checkout code uses: actions/checkout@v4 with: - token: ${{ secrets.RELENG_GITHUB_TOKEN }} + token: ${{ steps.ci-token.outputs.token }} - name: Setup Go uses: actions/setup-go@v5