You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
10.3.0 doesn't support a stage-then-release approach in GitHub Actions #1307
I have been doing a two-step process to use psr to stage changes before making a release as discussed in #1125, but 10.3.0 introduced a breaking change for this workflow
Expected behavior
It should properly stage changes without requiring a commit_sha
Actual behavior
A commit_sha is required as of 39b647b when running semantic-release version ... inside of a GitHub Actions pipeline. If I set GITHUB_OUTPUT locally then I can see the error:
$ GITHUB_OUTPUT=foo uv run --frozen semantic-release version --no-changelog --skip-build --no-commit --no-tag --no-push --no-vcs-release
WARNING:root:Found .git/ in higher parent directory rather than provided in configuration.
[10:11:06] WARNING Token value is missing! config.py:779
WARNING:semantic_release:Token value is missing!
1.5.0
The next version is: 1.5.0! 🚀
Skipping build due to --skip-build flag
::ERROR:: some required outputs were not set: commit_sha
Run semantic-release in very verbose mode (-vv) to see the full traceback.
My team is experiencing the same issue. We run python-semantic-release to determine the tag to use for builds generated as part of testing PRs, using the following inputs:
Activity
gbrown-lendica commentedon Aug 4, 2025
My team is experiencing the same issue. We run python-semantic-release to determine the tag to use for builds generated as part of testing PRs, using the following inputs:
codejedi365 commentedon Aug 4, 2025
Thanks, this was not intentional but an unexpected side effect. Will push a patch tomorrow.
fix(github-actions): refactor the action output error checking for no…
fix(github-actions): refactor the action output error checking for no…
fix(github-actions): refactor the action output error checking for no…
fix(github-actions): refactor the action output error checking for no…
fix(github-actions): refactor the action output error checking for no…
fix(github-actions): refactor the action output error checking for no…
codejedi365 commentedon Aug 6, 2025
🎉 This issue has been resolved in v10.3.1 🎉
You can find more information about this release on the GitHub Releases page.