Skip to content

Commit

Permalink
Fix: update GitHub Actions workflow to use OWNER_TOKEN for authentica…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
NripeshN committed Jan 3, 2025
1 parent 7c247a0 commit 0121863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PR_merge_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
run: |
git merge origin/main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OWNER_TOKEN }}

- name: Push changes back to the PR
run: |
git push \
"https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" \
"https://x-access-token:${{ secrets.OWNER_TOKEN }}@github.com/${{ github.repository }}" \
pr-branch:refs/heads/${{ github.event.pull_request.head.ref }}

0 comments on commit 0121863

Please sign in to comment.