Skip to content

A Github action that simply tags the repository with the specified tag.

License

Notifications You must be signed in to change notification settings

richardsimko/update-tag

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

Repository files navigation

GitHub Update Tag Action

A GitHub action that simply tags the repository with the specified tag. If the tag exists it gets updated.

Usage

name: Deploy

on: [deployment]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Tag Repo
        uses: richardsimko/update-tag@v1
        with:
          tag_name: name-of-tag
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

  • tag_name (required) - The name of the tag you want to create or update.