open-athena/Extract Called Workflow Ref
Extracts the ref (branch/tag/SHA) used to call a reusable workflow by parsing the caller workflow file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 12, 2025
- License
- Apache 2.0
Pinned Snippet
uses: open-athena/extract-called-ref@08d8ebb47d65a7934aa99f94c5a2932e5b3d7507 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| target_repository | The repository containing the called workflow (e.g., owner/repo) | yes | — |
| ref_override | Explicit ref to use (bypasses extraction when provided) | no | "" |
| default_ref | Default ref to use if extraction fails (if not provided, fetches target repository default branch) | no | "" |
| fail_on_multiple_refs | Whether to fail if multiple different refs are found | no | true |
Outputs
| name | description |
|---|---|
| ref | The extracted ref (branch/tag/SHA) or default if extraction failed |
| extraction_method | How the ref was determined (extracted, default, or error) |