From b1dace63b1e64dc501f964ade5aa62bb7ff6f9cf Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 27 Jul 2022 20:13:21 -0700 Subject: [PATCH] workflows: Use correct access token when pushing to llvm-project-release-prs repo The checkout action will hard-code the default github actions token in the git config so that all pushes use it. We need to set persist-credentials=false so we can use a token that has permission to push to the llvm-project-release-prs repo. --- .github/workflows/issue-release-workflow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml index 927ffb8ae550..44d2e36600a0 100644 --- a/.github/workflows/issue-release-workflow.yml +++ b/.github/workflows/issue-release-workflow.yml @@ -72,6 +72,8 @@ jobs: steps: - name: Fetch LLVM sources uses: actions/checkout@v2 + with: + persist-credentials: false - name: Setup Environment run: | -- 2.11.4.GIT