Skip to content

Commit

Permalink
[CI] Use personal access token for backport workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Jan 27, 2025
1 parent d7b6a14 commit ce19126
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.BACKPORT_ACTION_GITHUB_PAT }}

- name: Create backport PR
uses: korthout/backport-action@be567af183754f6a5d831ae90f648954763f17f5 # v3.1.0
with:
github_token: ${{ secrets.BACKPORT_ACTION_GITHUB_PAT }}
# Config README: https://github.com/korthout/backport-action#backport-action
copy_labels_pattern: '^(breaking-change|security|topic:.*|kind:.*|platform:.*)$'
copy_milestone: true
Expand Down

0 comments on commit ce19126

Please sign in to comment.