mirror of
https://github.com/TRaSH-Guides/Guides.git
synced 2026-05-13 04:39:52 -05:00
fix(auto-changelog): fix git push command
This commit is contained in:
@@ -2,7 +2,7 @@ name: Update changelog
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
- cron: "0 0 * * 0"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -52,4 +52,4 @@ jobs:
|
||||
git config --global user.name "GitHub Actions"
|
||||
git diff
|
||||
git commit -am "chore(changelog): Update updates.txt" || exit 0
|
||||
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master
|
||||
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master --force
|
||||
|
||||
Reference in New Issue
Block a user