step-security/Create/Update tag
Creates or updates a tag for a given commit.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN. Optional if you use checkout@v2 action. | — | ${{ github.token }} |
| tag | Tag you want to create or update. | yes | — |
| message | Tag message. | no | — |
| commit_sha | The commit SHA hash on which you want to push the tag. Uses latest commit by default. | no | — |
| force_push_tag | Optional. Force push the tag. Defaults to 'false'. | no | false |
| tag_exists_error | Optional. Whether to throw an error when the tag already exists. Defaults to 'true'. | no | true |
| no_verify_tag | Optional. Skips verifying when pushing the tag. Defaults to 'false'. | no | false |
| gpg_private_key | Optional. GPG key to sign the tag with. | no | — |
| gpg_passphrase | Optional. GPG key passphrase. | no | — |
Outputs
| name | description |
|---|---|
| tag_exists | Whether the tag already existed. |