mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2024-12-04 22:14:39 +08:00
build: fix update action on forked repos (#653)
This commit is contained in:
parent
4896810dcc
commit
65f5fdf8e5
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user