Skip to content

Commit 65f5fdf

Browse files
authored
build: fix update action on forked repos (ikatyang#653)
1 parent 4896810 commit 65f5fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update.yml

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

0 commit comments

Comments
 (0)