Skip to content

Conversation

@robcohen
Copy link
Member

@robcohen robcohen commented Feb 7, 2026

Summary

  • Pin all GitHub Actions to commit SHAs for security (actions/checkout, DeterminateSystems actions)
  • Fix checkout ref: use github.ref as fallback instead of empty string when triggered by tag push
  • Fix tag parameter: use github.ref_name as fallback instead of null when triggered by tag push

The workflow was broken for tag-triggered runs because:

  1. inputs.tag is only set for workflow_dispatch, not for push events
  2. Without proper fallbacks, the checkout would use an empty ref and the flakehub-push would get a null tag

🤖 Generated with Claude Code

- Pin action versions to SHA hashes for security
- Fix ref checkout: use github.ref for tag push events (was empty string)
- Fix tag param: use github.ref_name for tag push events (was null)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@robcohen robcohen merged commit f628d1a into main Feb 7, 2026
29 checks passed
@robcohen robcohen deleted the fix/flakehub-workflow-actions branch February 7, 2026 19:40
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