diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4693ede34..9556199aa6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,13 +14,8 @@ jobs: steps: - name: Run Backport Assistant run: | - curl -L \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ github.token }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/installation/repositories backport-assistant backport env: BACKPORT_LABEL_REGEXP: "(?P\\d+\\.\\d+)-backport" BACKPORT_TARGET_TEMPLATE: "v{{.target}}" - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}