crediayni/is-tag-reachable-from-default-branch
Determines whether a tag is reachable from the default branch
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 31, 2024
- License
- None
Pinned Snippet
uses: crediayni/is-tag-reachable-from-default-branch@290aac42c1982cc7f9d68618e8f29e2b5cd88d08 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | The tag to be checked | yes | — |
| default-branch | The default branch for the repository. Defaults to main. | yes | main |
| ref | Required when a `ref` arg was used with `actions/checkout` or if a non-default branch was selected when starting the workflow. Specify the same ref here so the action can return the repository to that ref. | no | — |
| error-if-not-reachable | Throw an error if the tag is not reachable from the default branch | yes | true |
Outputs
| name | description |
|---|---|
| reachable | Whether the tag is reachable from the default branch. |