Skip to content

GitHub action that adds a git tag to the current workflow commit

License

Notifications You must be signed in to change notification settings

pioneerworks/git-tag-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 gets replaced.

It's a fork of hole19/git-tag-action which is seems to be abandoned. The difference is that my action contains an important fix (it checks if the tag exists both in the remote and local repos).

Environment Variables

  • GITHUB_TOKEN (required) - Required for permission to tag the repository.
  • TAG (required) - Name of the tag to be added.

Example usage

uses: cardinalby/git-tag-action@master
env:
  TAG: v1.2.3
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

GitHub action that adds a git tag to the current workflow commit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 81.0%
  • Dockerfile 19.0%