Skip to content

A Github action that determines if a tag exists

License

Notifications You must be signed in to change notification settings

DNA-PC/tag-exists-action

 
 

Repository files navigation

tag-exists-action

A GitHub action that determines if a tag exists in your repo.

Inputs

tag

Required The tag to search for.

Outputs

exists

a string value of 'true' or 'false'

Example usage

- uses: mukunku/tag-exists-action@v1.2.0
  id: checkTag
  with: 
    tag: 'tag-to-search-for'

- run: echo ${{ steps.checkTag.outputs.exists }}

This action uses the ${{github.token}} secret to automatically inject your access token. If you'd like to provide your own token instead check out this help article.

About

A Github action that determines if a tag exists

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%