feat: add release-git-tag #3

Merged
t.behrendt merged 6 commits from feat-release-git-tag into main 2025-10-13 20:44:18 +02:00
3 changed files with 29 additions and 1 deletions
Showing only changes of commit ff302530f8 - Show all commits

View File

@@ -1,3 +1,7 @@
# actions
Collection of Gitea friendly actions & workflows
Collection of Gitea friendly actions.
## Actions
- [release-git-tag](./release-git-tag//README.md)

View File

@@ -0,0 +1,9 @@
# release-git-tag
Creates and pushes a Git tag to the remote repository.
```yaml
- uses: ./release-git-tag
with:
tag: v1.0.0
```

View File

@@ -0,0 +1,15 @@
name: Release Git tag
description: Releases a Git to origin
inputs:
tag:
description: The tag to release
required: true
runs:
using: "composite"
steps:
- shell: bash
run: |
git tag ${{ inputs.tag }}
git push origin ${{ inputs.tag }}