fix(backport-action): keep credentials so backport action works (#2877)
This commit is contained in:
parent
834b274374
commit
c4bd716f80
1 changed files with 2 additions and 1 deletions
3
.github/workflows/cherry-pick-to-stable.yml
vendored
3
.github/workflows/cherry-pick-to-stable.yml
vendored
|
|
@ -26,7 +26,8 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
# The backport action needs the creds to be available for pushing the backport PRs
|
||||
persist-credentials: true
|
||||
# Use the dynamically generated GitHub App token
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
# Explicitly check out the base branch (the PR is already merged into it).
|
||||
|
|
|
|||
Loading…
Reference in a new issue