Skip to content

Pass head_ref as env var - #15

Merged
ryangraphite merged 1 commit into
mainfrom
03-09-pass_head_ref_as_env_var
Mar 9, 2026
Merged

ryangraphite merged 1 commit into
mainfrom
03-09-pass_head_ref_as_env_var

Conversation

@ryangraphite

@ryangraphite ryangraphite commented Mar 9, 2026 •

Copy link
Copy Markdown
Contributor

Pass head_ref as env var instead of in line.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ryangraphite
ryangraphite marked this pull request as ready for review March 9, 2026 18:33
@cursor

cursor Bot commented Mar 9, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Low risk workflow change limited to how github.head_ref is passed into latest_artifact.sh; main risk is mis-resolution of the head ref causing the action to miss prior SHA artifacts.

Overview
Simplifies the Download SHAs from last run step by exporting github.head_ref as HEAD_REF in env: and using "$HEAD_REF" when invoking latest_artifact.sh, instead of interpolating github.head_ref inline.

Written by Cursor Bugbot for commit 1d7bb26. This will update automatically on new commits. Configure here.

ryangraphite commented Mar 9, 2026 •

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Mar 9, 6:42 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 9, 6:42 PM UTC: @ryangraphite merged this pull request with Graphite.

@ryangraphite
ryangraphite merged commit 5fe434a into main Mar 9, 2026
3 checks passed
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.

3 participants