stackrox/Clone Tag
Creates a prefixed tag from the current tag, if it matches a given regular expression.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prefix | A fixed prefix to prepend to the new tag (e.g., "my/prefix/"). | yes | — |
| suffix | A fixed suffix to append to the new tag (e.g., "-foo"). | no | — |
| if-matches | A regular expression that the original tag must match in order to be processed. Defaults to an expression that matches semantic versioning tags. | yes | ^v?(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ |
| github_token | The GitHub token used to authenticate API requests. | yes | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| new-tag | The name of the newly created tag (if successful). |
| skipped | Returns "true" if the tag creation was skipped (e.g., not a semver). |