actions-marketplace-validations/Define tag and branch based on ref variable action
This will help to get a branch and tag name out of the github.ref can be used
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
no inputs
Outputs
| name | description |
|---|---|
| branch | The branch name if it is a branch otherwise it will return a tag |
| tag | If it is a tag it will return here a tag other wise it is the branch name |
| type | Defines what type it is branch or tag (branch / tag) |
| branch_not_formatted | Branch name not formatted |