Closed
Description
The problem
Since a few days ago we have multiple repositories where the Github Action is failing, resolving an empty SHA while doing the action and returning an error.
We tried to re-run an old job, which worked correctly and now it is failing with the same error.
Doing the action, calling directly the library with:
python -m semantic_release publish -v DEBUG -D commit_author="github-actions <github-actions@github.com>"
is iterating through all the commits and returning the proper version.
Expected behavior
Expected behavior is for when semantic release runs, for it to be able to find the version in the commit.
Additional context
Log:
debug: get_current_version_by_config_file()
debug: Regex matched version: 0.0.1
debug: get_current_version_by_config_file -> 0.0.1
debug: get_current_release_version_by_commits()
error: SHA could not be resolved, git returned: b''
##[debug]Docker Action run completed with exit code 1
##[debug]Finishing: Python Semantic Release