From 1dde71c62c15ada78c06b2a075071fb8d1a9dc9d Mon Sep 17 00:00:00 2001 From: thcrack Date: Fri, 28 Jul 2023 08:53:03 +0000 Subject: [PATCH] build: fix update action on forked repos --- .github/workflows/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 54b15d2..9bd8f53 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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