From 588730c49f3f3a2870f6ea36b5a0819158786743 Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Tue, 30 Jul 2024 16:34:40 -0400 Subject: [PATCH] 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. --- .github/workflows/backport-assistant.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backport-assistant.yml b/.github/workflows/backport-assistant.yml index ad5af27383..d004f220bf 100644 --- a/.github/workflows/backport-assistant.yml +++ b/.github/workflows/backport-assistant.yml @@ -27,7 +27,7 @@ jobs: env: BACKPORT_LABEL_REGEXP: "backport/(?P\\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')