Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to get current release by commits in Github Actions #560

Closed
Labels
bugSomething isn't working properly
@sp-ivan-alcoceba

Description

@sp-ivan-alcoceba

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.1debug: get_current_version_by_config_file -> 0.0.1debug: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp