From 63da84fe0a4d2e5c8eca2f19f1caa20eb251fdca Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Sat, 3 Jan 2026 17:59:18 +0200 Subject: [PATCH] chore(deps): update cocogitto/cocogitto-action action to v4 --- .gitea/workflows/cog-check.yml | 4 ++-- .gitea/workflows/cog-release.yml | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/cog-check.yml b/.gitea/workflows/cog-check.yml index a860dcd..7138204 100644 --- a/.gitea/workflows/cog-check.yml +++ b/.gitea/workflows/cog-check.yml @@ -22,7 +22,7 @@ jobs: - name: Semver release uses: cocogitto/cocogitto-action@v4 with: - # check-latest-tag-only: ${{ inputs.check-latest-tag-only }} - check-latest-tag-only: true + command: check + args: --from-latest-tag git-user: "gitea-bot" git-user-email: "bot@git.palkoi.net" diff --git a/.gitea/workflows/cog-release.yml b/.gitea/workflows/cog-release.yml index ccdba0c..6272ef3 100644 --- a/.gitea/workflows/cog-release.yml +++ b/.gitea/workflows/cog-release.yml @@ -31,17 +31,20 @@ jobs: uses: cocogitto/cocogitto-action@v4 id: release with: - release: true + command: bump + args: --auto git-user: "gitea-bot" git-user-email: "bot@git.palkoi.net" - check-latest-tag-only: true - # check-latest-tag-only: ${{ inputs.check-latest-tag-only }} - name: Generate Changelog - run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md + id: changelog + uses: cocogitto/cocogitto-action@v4 + with: + command: changelog + args: --at ${{ steps.release.outputs.version }} -t full_hash - name: Upload github release uses: softprops/action-gh-release@v2 with: - body_path: GITHUB_CHANGELOG.md + body_path: ${{ steps.changelog.outputs.stdout }} tag_name: ${{ steps.release.outputs.version }}