From 8e3ffcba7559492ec14e58925daba9b7dc938f9b Mon Sep 17 00:00:00 2001 From: RadioNoiseE Date: Tue, 10 Dec 2024 11:11:03 +0800 Subject: [PATCH] fix: push to head --- .github/workflows/publ.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publ.yml b/.github/workflows/publ.yml index 70d9ee3..57b03d5 100644 --- a/.github/workflows/publ.yml +++ b/.github/workflows/publ.yml @@ -30,9 +30,11 @@ jobs: python3 make.py batch - name: Commit and Push Changes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add . git commit -m "chore: automated publish" || echo "no changes to commit" - git push + git push origin HEAD:main