3 Commits

Author SHA1 Message Date
1b3aa245ae chore(deps): pin actions/checkout action to 08c6903 (#6)
All checks were successful
CD / Release (push) Successful in 14s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | pinDigest |  -> `08c6903` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMjUuMiIsInVwZGF0ZWRJblZlciI6IjQxLjEyNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhY3Rpb24iLCJkZXBzIl19-->

Reviewed-on: #6
Reviewed-by: t.behrendt <t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2025-10-14 08:49:33 +02:00
b569618421 ci: refactor to use own release-git-tag action (#5)
All checks were successful
CD / Release (push) Successful in 15s
Reviewed-on: #5
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2025-10-13 20:47:02 +02:00
531d8441c4 feat: add release-git-tag (#3)
Some checks failed
CD / Release (push) Failing after 6s
We are adding the release-git-tag action as well as some CICD steps.

Reviewed-on: #3
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2025-10-13 20:44:17 +02:00
5 changed files with 60 additions and 1 deletions

24
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,24 @@
name: CD
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
uses: ./release-git-tag
with:
tag: ${{ steps.tag.outputs.new-tag }}

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 }}

7
renovate.json Normal file
View File

@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>t.behrendt/renovate-configs:common",
"local>t.behrendt/renovate-configs:action"
]
}