Skip to content
tag

GitHub Action

Update Tag

v1.0.11 Latest version

Update Tag

tag

Update Tag

Update the provided tag in the GitHub repo

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Update Tag

uses: richardsimko/update-tag@v1.0.11

Learn more about this action in richardsimko/update-tag

Choose a version

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.