An open API service indexing awesome lists of open source software.

https://github.com/action-pack/tag-exists

Action to determine if a tag exists.
https://github.com/action-pack/tag-exists

github github-action github-actions github-actions-ci github-tags

Last synced: 6 months ago
JSON representation

Action to determine if a tag exists.

Awesome Lists containing this project

README

          

Tag Exists



[![Build](https://github.com/action-pack/tag-exists/actions/workflows/build.yml/badge.svg)](https://github.com/action-pack/tag-exists/)
[![Version](https://img.shields.io/github/v/tag/action-pack/tag-exists?label=version&sort=semver&color=066da5)](https://github.com/marketplace/actions/tag-exists)
[![Size](https://img.shields.io/github/size/action-pack/tag-exists/dist/index.js?branch=release/v1.07&label=size&color=066da5)](https://github.com/action-pack/tag-exists/)


Action to determine if a tag exists.

## Usage 🚀

To check if a tag named `example` exists in your current repository:

```yaml
- uses: action-pack/tag-exists@v1
id: check
with:
tag: 'example'

- run: echo ${{ steps.check.outputs.exists }}
```

## Inputs 📝

### `tag`

**Required** - The tag to search for.

### `repo`

**Optional** - External repository name in`owner/repo` format.

## Outputs 📝

### `exists`

A string value of 'true' or 'false'

## Stars 🌟
[![Stars](https://starchart.cc/action-pack/tag-exists.svg?variant=adaptive)](https://starchart.cc/action-pack/tag-exists)