Backport of ci: use workflow-scoped GH PAT for backports into release/1.19.x (#21573)

backport of commit 56df726932

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
pull/21583/head
hc-github-team-consul-core 4 months ago committed by GitHub
parent ef458242b9
commit 9550011ac2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -27,7 +27,7 @@ jobs:
env:
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+)"
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}.x"
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN_WORKFLOW }}
ENABLE_VERSION_MANIFESTS: true
backport-ent:
if: github.event.pull_request.merged && contains(join(github.event.pull_request.labels.*.name), 'backport/ent')

Loading…
Cancel
Save