From 676046611276e07352b59a8a89c2887ea60c18af Mon Sep 17 00:00:00 2001 From: Turbolay Date: Fri, 6 Dec 2024 18:28:23 +0100 Subject: [PATCH] Use PAT in updateVersion.yml (#1861) --- .github/workflows/updateVersion.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/updateVersion.yml b/.github/workflows/updateVersion.yml index 78f9c7605..daca89761 100644 --- a/.github/workflows/updateVersion.yml +++ b/.github/workflows/updateVersion.yml @@ -6,7 +6,6 @@ on: permissions: contents: write - jobs: update-config: runs-on: ubuntu-latest @@ -23,15 +22,14 @@ jobs: - name: Commit changes run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "turbolay@proton.me" + git config --local user.name "turbolay" git checkout -b update-version-branch git add docs/.vuepress/config.ts git commit -m "Update version to ${{ github.event.client_payload.new_version }}" git push -f --set-upstream origin update-version-branch env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + GITHUB_TOKEN: ${{ secrets.VERSION_UPDATE_TOKEN }} - name: Install GitHub CLI run: sudo apt-get install gh