Skip to content

stackrox/clone-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clone-tag

Create a Git tag based on another

Example usage

name: Generate Prefixed Tag

on:
  push:
    tags:
      - '*' # Triggers on all tags

jobs:
  create-mangled-tag:
    runs-on: ubuntu-latest
    permissions:
      contents: write # Required to create a new tag via API
      
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Create mapped tag
        id: map-tag
        uses: stackrox/clone-tag@v1 
        with:
          prefix: 'my/prefix'
          
      - name: Check result
        if: steps.map-tag.outputs.skipped == 'false'
        run: echo "Successfully generated tag ${{ steps.map-tag.outputs.new-tag }}"

About

Create a Git tag based on another

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors