mirror of https://github.com/status-im/consul.git
ci: use workflow-scoped GH PAT for backports (#21570)
This is necessary to allow backporting changes to GHA workflows, and mirrors the token use in the CE->Ent merge workflow.
This commit is contained in:
parent
01ae0d3d38
commit
588730c49f
|
@ -27,7 +27,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+)"
|
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+)"
|
||||||
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}.x"
|
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}.x"
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN_WORKFLOW }}
|
||||||
ENABLE_VERSION_MANIFESTS: true
|
ENABLE_VERSION_MANIFESTS: true
|
||||||
backport-ent:
|
backport-ent:
|
||||||
if: github.event.pull_request.merged && contains(join(github.event.pull_request.labels.*.name), 'backport/ent')
|
if: github.event.pull_request.merged && contains(join(github.event.pull_request.labels.*.name), 'backport/ent')
|
||||||
|
|
Loading…
Reference in New Issue