Skip to content

[codex] fix disabled beta release workflow#49

Closed
ScriptedAlchemy wants to merge 1 commit into
masterfrom
codex/release-ci-followup
Closed

[codex] fix disabled beta release workflow#49
ScriptedAlchemy wants to merge 1 commit into
masterfrom
codex/release-ci-followup

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Fixes the disabled beta release workflow so pushes to master no longer produce an invalid zero-job workflow failure.

Root Cause

release-beta.yml used the top-level env context inside job-level if expressions. GitHub does not allow env in job-level conditions, so the workflow failed before creating any jobs.

Changes

  • Replace the invalid env.BETA_CHANNEL_ENABLED job guards with a repository-variable guard using vars.BETA_CHANNEL_ENABLED.
  • Keep beta disabled unless the repository variable is set to true and the release trigger is restored.
  • Update the workflow comment so the re-enable path is clear.

Validation

  • Ran actionlint .github/workflows/*.yml.
  • Parsed all workflow YAML files with PyYAML.
  • Parsed release-plz.toml with tomllib.
  • Ran git diff --check.

@changeset-bot

changeset-bot Bot commented Jun 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5648fca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant