Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 454 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 454 Bytes

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

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