1
0
mirror of https://github.com/ikatyang/emoji-cheat-sheet.git synced 2024-11-21 18:03:50 +01:00

build: fix update action on forked repos (#653)

This commit is contained in:
thcrack 2023-07-28 18:24:26 +08:00 committed by GitHub
parent 4896810dcc
commit 65f5fdf8e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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