From 8ae55b0336f253ccffbda37dd9deba9c0efbe624 Mon Sep 17 00:00:00 2001 From: drew Date: Mon, 28 Jul 2025 21:02:25 +0400 Subject: [PATCH] fix: create tags on release [skip ci] --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e01ba0b69ff12fdc12e183b940a53cd469d90ae..aa28ad4dbde36785f304e7310b457b403dd4350d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - master permissions: - contents: write # to create releases and upload assets + contents: write # to create releases, tags and upload assets pull-requests: read # to read pull request titles and labels for changelog id-token: write # to sign the release @@ -26,7 +26,15 @@ jobs: with: go-version: "1.24" # Match the Go version in go.mod + - name: Automatic Tagging + id: conventional-commits + uses: iM-vG/action-conventional-commits@v4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + command: "tag" + - name: Run GoReleaser + if: steps.conventional-commits.outputs.tag uses: goreleaser/goreleaser-action@v5 with: # GoReleaser will automatically use the latest version.