diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 82295ee..6a0eab8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,6 +28,6 @@ jobs: run: uvx --from commitizen --with cz-conventional-gitmoji cz changelog ${{ github.ref_name }} --file-name release-notes.md - name: Create release - uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2 + uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2 with: body_path: release-notes.md diff --git a/template/{% if repository_provider == 'github' %}.github{% endif %}/workflows/main.yaml.jinja b/template/{% if repository_provider == 'github' %}.github{% endif %}/workflows/main.yaml.jinja index 18fd344..eede350 100644 --- a/template/{% if repository_provider == 'github' %}.github{% endif %}/workflows/main.yaml.jinja +++ b/template/{% if repository_provider == 'github' %}.github{% endif %}/workflows/main.yaml.jinja @@ -90,7 +90,7 @@ jobs: run: {% raw %}uvx --from commitizen --with cz-conventional-gitmoji cz changelog ${{ github.ref_name }} --file-name release-notes.md && echo ${{ github.ref }}{% endraw %} - name: Create release - uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2 + uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2 with: body_path: release-notes.md prerelease: {% raw %}${{ contains(github.ref_name, 'rc') || contains(github.ref_name, 'b') || contains(github.ref_name, 'a') }}{% endraw %}