actions-marketplace-validations/Git ref matrix action
GitHub Action to create a stringified build matrix for branches and tags.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository_default_branch | The default branch of this repository to fetch latest tags from. Default: master | no | master |
| branches | Comma separated list of branches to create build matrix for. Default: none | no | "" |
| tags | Comma separated list of tags to create build matrix for. Default: none | no | "" |
| num_latest_tags | Number of latest tags to add to build matrix. Default: 0 | no | 0 |
| disable_refs | A string flag (0 or 1 or false or true) to disable refs alltogether and return an empty matrix and has_refs=false. | no | false |
Outputs
| name | description |
|---|---|
| matrix | (string) Stringified JSON build matrix for defined git refs. (list of strings) |
| has_refs | (string) String flag ('true' or 'false') that tells if we have matrix (list not empty) refs or not (list empty). |