From ba1180d71488c4f6214290ae20c5bcfd220136ef Mon Sep 17 00:00:00 2001 From: Mattia Dal Ben Date: Wed, 2 Oct 2024 09:46:04 +0200 Subject: [PATCH] ci: use newly introduced bot personal access token for github workflows (#5397) --- .github/workflows/backport.yml | 2 +- .github/workflows/release-notes.yml | 1 + .github/workflows/version-uptick.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 15a903fee8..3e38288f43 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -27,6 +27,6 @@ jobs: steps: - uses: tibdex/backport@v2 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.BOT_GITHUB_TOKEN }} title_template: "<%= title %> [backport <%= base %>]" diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 5b339da429..f542ac52ae 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -102,3 +102,4 @@ jobs: commit-message: "chore: add Kura ${{ steps.get-version.outputs.resolved-version }} release notes" body: "Automated changes by _Release Notes automation_ action: add Kura ${{ steps.get-version.outputs.resolved-version }} version release notes since commit `${{ github.event.inputs.starting_commit }}`" branch-suffix: short-commit-hash + token: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/version-uptick.yml b/.github/workflows/version-uptick.yml index 6611f24c2b..bd8ee2b0db 100644 --- a/.github/workflows/version-uptick.yml +++ b/.github/workflows/version-uptick.yml @@ -68,3 +68,4 @@ jobs: commit-message: "chore: automated uptick to ${{ steps.get-version.outputs.version }}" body: "Automated changes by _Version uptick automation_ action: automated uptick to ${{ steps.get-version.outputs.version }} version" branch-suffix: timestamp + token: ${{ secrets.BOT_GITHUB_TOKEN }}