Skip to content

ci: fix invalid run-name expression in beta workflow#202

Merged
Jordonbc merged 1 commit intoDevfrom
codex/fix-github-actions-workflow-error
Mar 24, 2026
Merged

ci: fix invalid run-name expression in beta workflow#202
Jordonbc merged 1 commit intoDevfrom
codex/fix-github-actions-workflow-error

Conversation

@Jordonbc
Copy link
Copy Markdown
Collaborator

Motivation

  • Fix GitHub Actions validation error caused by using the unavailable steps context in the top-level run-name of .github/workflows/beta.yml.

Description

  • Replaced the top-level run-name reference to steps.meta.outputs.short_sha in .github/workflows/beta.yml with the workflow-allowed github.sha, preserving the run-name format while removing the invalid context.

Testing

  • Verified the change with git diff -- .github/workflows/beta.yml, git status --short, and inspected the file with nl -ba .github/workflows/beta.yml, and confirmed the run-name no longer references steps (checks succeeded).

Codex Task

@github-actions
Copy link
Copy Markdown

Review Summary

Change is correct and ready to merge.

Analysis

The fix properly addresses the GitHub Actions validation error. The steps context is unavailable at the workflow top-level, so using github.sha (which is workflow-level accessible) is the correct alternative.

Observations

  1. Minor tradeoff: github.sha provides the full 40-character SHA vs. the 7-character short SHA from steps.meta.outputs.short_sha. This slightly changes the run-name appearance but is acceptable since there's no workflow-level equivalent for short SHA.

  2. No bugs introduced: The workflow still correctly uses steps.meta.outputs.short_sha in job steps (lines 119, 123) where the steps context is valid.

  3. Code quality: The change is minimal, focused, and solves the stated problem without side effects.

Verdict

Approved - The PR correctly fixes the GitHub Actions validation error with a minimal, appropriate change.

New%20session%20-%202026-03-24T04%3A18%3A38.642Z
opencode session  |  github run

@Jordonbc Jordonbc merged commit 5f26695 into Dev Mar 24, 2026
6 checks passed
@Jordonbc Jordonbc deleted the codex/fix-github-actions-workflow-error branch March 24, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant