Skip to content

Commit tagger

Actions
Tag commit with a given version
v0.0.2
LatestPre-release
Star (34)

Commit tagger

Tags the commit with a given text

Getting Started

To use, create a workflow (eg: .github/workflows/label.yml see Creating a Workflow file) and add a step like 'Tag commit' on the below sample. A token will be needed so the workflow can make calls to GitHub's rest API.

name: "My workflow"

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    
    steps:
    - name: Tag commit
      uses: tvdias/[email protected]
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"
        tag: "my_tag"

An optional commit sha can be specified to override the default

    steps:
    - name: Tag commit
      uses: tvdias/[email protected]
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"
        tag: "my_tag"
        commit-sha: abc123

Commit tagger is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Tag commit with a given version
v0.0.2
LatestPre-release

Commit tagger is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.