hendrikswan / git-tag-action

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 }}

About

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

License:MIT License


Languages

Language:Shell 80.9%Language:Dockerfile 19.1%