Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

Description

This is a simple Github action that tags a commit. It sets an environment variable TAGGED to true or false depending on the result.

Example Usage

- name: Tag a commit
  uses: rexdefuror/tag-commit@v1.0.0
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    owner: 'repository_owner_username'
    repo: 'repository_name'
    tag: 'tag_name'
    commit: 'commit_sha'

- run: echo "has been tagged - ${{ env.TAGGED }}"

Inputs

token

Required The Github token to use for authentication.

owner

Required The owner of the repository.

repo

Required The name of the repository.

tag

Required The tag to create.

commit

Required The commit to tag.

About

A simple action that tags a commit.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages