From 84690c5f755bef09d52deef2721022b10573d8b5 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 19 Jan 2025 10:41:44 -0600 Subject: [PATCH] chore: update pr --- .github/workflows/create-pr.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml index fbb167f3..492e37e6 100644 --- a/.github/workflows/create-pr.yml +++ b/.github/workflows/create-pr.yml @@ -5,6 +5,10 @@ on: branches: - canary +permissions: + contents: write + pull-requests: write + jobs: create-pr: runs-on: ubuntu-latest @@ -48,8 +52,8 @@ jobs: - name: Create Pull Request if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0' run: | - git config --global user.name "GitHub Actions" - git config --global user.email "actions@github.com" + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git fetch origin main git checkout -b release/${{ env.VERSION }} @@ -65,4 +69,4 @@ jobs: --reviewer siumauricio \ --assignee siumauricio env: - GH_TOKEN: ${{ secrets.GH_PAT }} + GH_TOKEN: ${{ github.token }}