diff --git a/.github/workflows/generate-git-cliff.yml b/.github/workflows/generate-git-cliff.yml index 22a2ff3..47e6562 100644 --- a/.github/workflows/generate-git-cliff.yml +++ b/.github/workflows/generate-git-cliff.yml @@ -29,10 +29,10 @@ jobs: - name: Commit run: | - git checkout + git checkout main git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' set +e git add CHANGELOG.md git commit -m "Update changelog" - git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git + git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main