Skip to content

Commit

Permalink
ci: fix backport job
Browse files Browse the repository at this point in the history
Use common secret GITHUB_TOKEN for backport jobs. This means that
backports will be done by the github-actions bot instead of grafanabot,
but the backport job will work properly.

I verified this works by looking at grafana/tempo, which uses
GITHUB_TOKEN instead of a grafanabot API token.
  • Loading branch information
rfratto committed Mar 22, 2024
1 parent efb7a3c commit 77ad895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
- name: Run backport
uses: ./actions/backport
with:
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
token: ${{secrets.GITHUB_TOKEN}}
labelsToAdd: "backport"
title: "[{{base}}] {{originalTitle}}"

0 comments on commit 77ad895

Please sign in to comment.