lee-lott-actions/Create Git Tag for Branch
Create a git tag on a specific branch using GitHub API and pwsh
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch-name | Branch name on which to create the tag (e.g., main) | yes | — |
| tag-name | Name of the tag to create | yes | — |
| tag-message | Tag message (optional) | no | "" |
| commit-sha | Optionally specify a commit SHA to tag instead of the head of the branch. | no | "" |
| org-name | The name of the GitHub organization | yes | — |
| repo-name | The name of the repository | yes | — |
| token | GitHub token with access to Git tags | yes | — |
Outputs
| name | description |
|---|---|
| result | Result of the attempt to merge the Pull Request ("success" or "failure") |
| error-message | Error message if the Pull Request merge fails |