Skip to content

Fix the publish workflow rejected for using runner.temp in job env - #28

Merged
lambdalisue merged 1 commit into
mainfrom
fix/publish-workflow-env
Oct 10, 2026
Merged

lambdalisue merged 1 commit into
mainfrom
fix/publish-workflow-env

Conversation

@lambdalisue

Copy link
Copy Markdown
Member

Summary

  • Set PLAN and NOTES from the first step via GITHUB_ENV instead of the job-level env.
  • Group the GITHUB_OUTPUT writes (actionlint/shellcheck SC2129), so actionlint passes on every workflow.

Why

The job-level env read ${{ runner.temp }}, but the runner context is not available there, so GitHub rejected publish.yml as invalid ("This run likely failed because of a workflow file issue"). Publishing a pre-release Release to dry-run the flow after #27 started nothing. PR CI never runs this workflow, which is why it slipped through.

Test Plan

  • actionlint on .github/workflows/*.yml reports nothing (it reported the runner context error before)
  • After merge: publish a pre-release Release and check the dry run in Actions

🤖 Generated with Claude Code

https://claude.ai/code/session_01N3xvJ1TaozjYSE6eoyo9mq

The job-level env read `runner.temp`, but the runner context is not
available there, so GitHub rejected the whole workflow file: publishing
a Release started nothing. The paths are now written to GITHUB_ENV by
the first step. actionlint passes on the workflows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3xvJ1TaozjYSE6eoyo9mq
Copilot AI balanced review requested due to automatic review settings October 10, 2026 13:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Oct 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lambdalisue
lambdalisue merged commit 1164928 into main Oct 10, 2026
3 checks passed
@lambdalisue
lambdalisue deleted the fix/publish-workflow-env branch October 10, 2026 13:48
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