https://github.com/hole19/git-tag-action
GitHub action that adds a git tag to the current workflow commit
https://github.com/hole19/git-tag-action
continuous-integration git-tag github-actions
Last synced: 10 months ago
JSON representation
GitHub action that adds a git tag to the current workflow commit
- Host: GitHub
- URL: https://github.com/hole19/git-tag-action
- Owner: hole19
- License: mit
- Created: 2019-10-29T14:05:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T16:17:06.000Z (almost 6 years ago)
- Last Synced: 2025-07-31T18:45:15.077Z (11 months ago)
- Topics: continuous-integration, git-tag, github-actions
- Language: Shell
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-tag-action
GitHub action that adds a lightweight git tag to the current workflow commit.
**Note:** If a tag with the same name already exists, it is replaced.
## Environment Variables
* **GITHUB_TOKEN (required)** - Required for permission to tag the repository.
* **TAG (required)** - Name of the tag to be added.
## Example usage
```yaml
uses: hole19/git-tag-action@master
env:
TAG: v1.2.3
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```