ci/backport: update for checkout v7
We need to specify allow-unsafe-pr-checkout now, to be explicit about checking out PR code on a privileged workflow.
This commit is contained in:
parent
78acb50d9a
commit
aeb34e84f6
1 changed files with 3 additions and 0 deletions
3
.github/workflows/backport.yml
vendored
3
.github/workflows/backport.yml
vendored
|
|
@ -38,6 +38,9 @@ jobs:
|
|||
with:
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
# Unsafely checkout the PR HEAD.
|
||||
# backport-action does not execute any code from the checkout.
|
||||
allow-unsafe-pr-checkout: true
|
||||
|
||||
- name: Create backport PRs
|
||||
id: backport
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue