build: fix update action on forked repos

pull/653/head
thcrack 2023-07-28 08:53:03 +00:00
parent 4896810dcc
commit 1dde71c62c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -m "docs(readme): update emoji-cheat-sheet"
git push -qf "https://${{ secrets.GITHUB_TOKEN }}@github.com/ikatyang/emoji-cheat-sheet.git" HEAD:github-actions-auto-update
git push -qf "https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" HEAD:github-actions-auto-update
- name: Create PR from Updated Branch
uses: actions/github-script@v2