fix(auto-changelog): fix git push command

This commit is contained in:
FonduemangVI
2024-07-08 00:35:28 +10:00
parent 0dae273c1e
commit 791300ad18
+2 -2
View File
@@ -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