Skip to content

10.3.0 doesn't support a stage-then-release approach in GitHub Actions #1307

@JonZeolla

Description

@JonZeolla

Bug Report

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properlyconfirmedPrevent from becoming stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy