From a1aab1475d60d35d3197dc44c3e28050ec68cc7f Mon Sep 17 00:00:00 2001 From: "t.behrendt" Date: Fri, 6 Feb 2026 08:38:14 +0100 Subject: [PATCH] ci: replace release-git-tag with shared workflow (#14) Reviewed-on: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action/pulls/14 Reviewed-by: branch-buddy Co-authored-by: t.behrendt Co-committed-by: t.behrendt --- .gitea/actions/release-git-tag/action.yaml | 15 --------------- .gitea/workflows/cd.yaml | 2 +- .gitea/workflows/prerelease.yaml | 2 +- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 .gitea/actions/release-git-tag/action.yaml diff --git a/.gitea/actions/release-git-tag/action.yaml b/.gitea/actions/release-git-tag/action.yaml deleted file mode 100644 index 37a1eaa..0000000 --- a/.gitea/actions/release-git-tag/action.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: Release Git tag -description: Release the Git tag - -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 }} \ No newline at end of file diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index dd0e91e..129dea8 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -18,6 +18,6 @@ jobs: uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25 with: token: ${{ secrets.GITEA_TOKEN }} - - uses: ./.gitea/actions/release-git-tag + - uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2 with: tag: ${{ steps.tag.outputs.new-tag }} \ No newline at end of file diff --git a/.gitea/workflows/prerelease.yaml b/.gitea/workflows/prerelease.yaml index 90109ed..93cd990 100644 --- a/.gitea/workflows/prerelease.yaml +++ b/.gitea/workflows/prerelease.yaml @@ -17,6 +17,6 @@ jobs: with: token: ${{ secrets.GITEA_TOKEN }} prerelease: true - - uses: ./.gitea/actions/release-git-tag + - uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2 with: tag: ${{ steps.tag.outputs.new-tag }} \ No newline at end of file