Skip to content

Conversation

@benjaminloerincz
Copy link

Description

This PR resolves the "Context access might be invalid: new_version" error in the release workflow.

Changes

  • Updates .github/workflows/release.yml to correctly pass the new_version variable between steps using $GITHUB_OUTPUT.
  • Ensures downstream steps access the version via steps.bump_version.outputs.new_version instead of potentially undefined environment variables.

Context

The workflow was previously flagging a potential invalid context access. This change ensures the version number is reliably passed to the branch creation and PR generation steps.

Note

While this is not a direct fix for #222, a similar issue occurred in this repository. This adjustment to the workflow could serve as an example of how the symptoms could potentially be resolved.

…rkflow

Updates the release.yml workflow to correctly define and access the new_version output using step outputs for version passing instead of environment variables, resolving the "Context access might be invalid" warning.
@benjaminloerincz benjaminloerincz requested a review from a team as a code owner November 23, 2025 17:46
@robertjbass
Copy link

For the love of god someone PLEASE merge this, it has been a problem for years

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants