mirror of
https://github.com/jimeh/update-tags-action.git
synced 2026-02-19 01:26:40 +00:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: "update-tags-action"
|
|
description: "Easily create/update one or more tags in a GitHub repository."
|
|
author: "jimeh"
|
|
|
|
branding:
|
|
icon: "tag"
|
|
color: "blue"
|
|
|
|
inputs:
|
|
tags:
|
|
description: "List/CSV of tags to create/update."
|
|
required: true
|
|
ref:
|
|
description: "The SHA or ref to tag. Defaults to SHA of current commit."
|
|
required: false
|
|
default: "${{ github.sha }}"
|
|
when_exists:
|
|
description: >-
|
|
What to do if the tag already exists. Must be one of 'update', 'skip', or
|
|
'fail'.
|
|
required: false
|
|
default: "update"
|
|
annotation:
|
|
description: >-
|
|
Optional annotation message for the tag. If provided, creates an annotated
|
|
tag instead of a lightweight tag.
|
|
required: false
|
|
default: ""
|
|
github_token:
|
|
description: "The GitHub token to use for authentication."
|
|
required: false
|
|
default: ${{ github.token }}
|
|
|
|
outputs:
|
|
tags:
|
|
description: "List of tags that were created/updated."
|
|
created:
|
|
description: "List of tags that were created."
|
|
updated:
|
|
description: "List of tags that were updated."
|
|
|
|
runs:
|
|
using: node24
|
|
main: dist/index.js
|