diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 42dc9bf..4d64251 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -26,8 +26,8 @@ jobs: git config --local user.name "GitHub Action" git add CHANGELOG.md git commit -m "docs: update changelog" || echo "No changes to commit" - git push origin master - + git push origin HEAD:refs/heads/$(git rev-parse --abbrev-ref HEAD) + - name: Create or Update Release uses: softprops/action-gh-release@v1 with: