From 5a239f473f8f2918d89d859e5be17ae719c52d2d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 18:38:15 +0000 Subject: [PATCH 1/7] chore(deps): update actions/checkout digest to 8e8c483 --- .github/workflows/auto-changelog.yml | 2 +- .github/workflows/auto-versioning.yml | 2 +- .github/workflows/benchmark.yml | 2 +- .github/workflows/codecov-upload.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- .github/workflows/docker-lint.yml | 2 +- .github/workflows/docker-publish.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/release-goreleaser.yml | 2 +- .github/workflows/renovate.yml | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/auto-changelog.yml b/.github/workflows/auto-changelog.yml index 436bdc92..9c52b9d3 100644 --- a/.github/workflows/auto-changelog.yml +++ b/.github/workflows/auto-changelog.yml @@ -10,7 +10,7 @@ jobs: update-draft: runs-on: ubuntu-latest steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Draft Release uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6 env: diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index 222cd9c9..7c8a5149 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 0 diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8076ce81..7c429879 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -24,7 +24,7 @@ jobs: name: Performance Regression Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Set up Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index 3215ffed..427d78e1 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 0 @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 0 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index abfecf0e..57096557 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,7 @@ jobs: language: [ 'go', 'javascript-typescript' ] steps: - name: Checkout repository - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Initialize CodeQL uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4 diff --git a/.github/workflows/docker-lint.yml b/.github/workflows/docker-lint.yml index 06359f57..91fc80ff 100644 --- a/.github/workflows/docker-lint.yml +++ b/.github/workflows/docker-lint.yml @@ -14,7 +14,7 @@ jobs: hadolint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Run Hadolint uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 26eed1a8..f93846fa 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -279,7 +279,7 @@ jobs: if: github.event_name == 'pull_request' steps: - name: Checkout repository - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Build image locally for PR run: | diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index be3672be..faa2b69d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,7 +29,7 @@ jobs: steps: # Step 1: Get the code - name: 📥 Checkout code - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 # Step 2: Set up Node.js (for building any JS-based doc tools) - name: 🔧 Set up Node.js diff --git a/.github/workflows/release-goreleaser.yml b/.github/workflows/release-goreleaser.yml index 2f60e9b6..20ed1ca8 100644 --- a/.github/workflows/release-goreleaser.yml +++ b/.github/workflows/release-goreleaser.yml @@ -19,7 +19,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 0 diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 5f1d1962..c142ab8d 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 1 - name: Choose Renovate Token From c3b14004faf4857c92bdee7a0aed67d75e45c4b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 20:52:21 +0000 Subject: [PATCH 2/7] chore(deps): update actions/checkout action to v6.0.1 (#290) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/docker-publish.yml | 4 ++-- .github/workflows/quality-checks.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 26eed1a8..32dce119 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -34,7 +34,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Normalize image name run: | @@ -192,7 +192,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Normalize image name run: | diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 5321f811..26930155 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -11,7 +11,7 @@ jobs: name: Backend (Go) runs-on: ubuntu-latest steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 @@ -66,7 +66,7 @@ jobs: name: Frontend (React) runs-on: ubuntu-latest steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Node.js uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 From 4235573d80d3f0271b9a333121e11eba2bd8bed5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 03:25:40 +0000 Subject: [PATCH 3/7] chore(deps): update dependency go to v1.25.5 --- .github/workflows/benchmark.yml | 2 +- .github/workflows/codecov-upload.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/quality-checks.yml | 2 +- .github/workflows/release-goreleaser.yml | 2 +- backend/go.mod | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8076ce81..e9d88387 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: - go-version: '1.25.4' + go-version: '1.25.5' cache-dependency-path: backend/go.sum - name: Run Benchmark diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index 3215ffed..ff218bfd 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: - go-version: '1.25.4' + go-version: '1.25.5' cache-dependency-path: backend/go.sum - name: Run Go tests diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index abfecf0e..f3dbf918 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -42,7 +42,7 @@ jobs: if: matrix.language == 'go' uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: - go-version: '1.25.4' + go-version: '1.25.5' - name: Autobuild uses: github/codeql-action/autobuild@fe4161a26a8629af62121b670040955b330f9af2 # v4 diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 26930155..7a4e4bbd 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 with: - go-version: '1.25.4' + go-version: '1.25.5' cache-dependency-path: backend/go.sum - name: Run Go tests diff --git a/.github/workflows/release-goreleaser.yml b/.github/workflows/release-goreleaser.yml index 2f60e9b6..5afbab69 100644 --- a/.github/workflows/release-goreleaser.yml +++ b/.github/workflows/release-goreleaser.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: - go-version: '1.25.4' + go-version: '1.25.5' - name: Set up Node.js uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 diff --git a/backend/go.mod b/backend/go.mod index 7efe06d7..890b393f 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,6 +1,6 @@ module github.com/Wikid82/charon/backend -go 1.25.4 +go 1.25.5 require ( github.com/containrrr/shoutrrr v0.8.0 From 6af2cc18ba322dd9acfdcd0532a4219fae5458ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 05:09:28 +0000 Subject: [PATCH 4/7] chore(deps): update golangci/golangci-lint-action action to v9.2.0 (#293) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/quality-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 26930155..cb707709 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -55,7 +55,7 @@ jobs: continue-on-error: false - name: Run golangci-lint - uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9.1.0 + uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: version: latest working-directory: backend From a776bf69956dcc2dd529b128ac54798737679b5e Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 3 Dec 2025 05:34:04 +0000 Subject: [PATCH 5/7] fix: correct YAML mappings for workflow secrets and tokens --- .github/workflows/auto-changelog.yml | 2 +- .github/workflows/auto-versioning.yml | 8 ++++---- .github/workflows/benchmark.yml | 2 +- .github/workflows/docker-publish.yml | 2 +- .github/workflows/release-goreleaser.yml | 7 ++++--- .github/workflows/renovate_prune.yml | 6 +++--- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/auto-changelog.yml b/.github/workflows/auto-changelog.yml index 0f7cf602..468a54aa 100644 --- a/.github/workflows/auto-changelog.yml +++ b/.github/workflows/auto-changelog.yml @@ -14,4 +14,4 @@ jobs: - name: Draft Release uses: release-drafter/release-drafter@v5 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index 1bb8dce4..a75664da 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -60,21 +60,21 @@ jobs: # Export the tag for downstream steps echo "tag=${TAG}" >> $GITHUB_OUTPUT env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} - name: Check for existing GitHub Release id: check_release run: | TAG=${{ steps.create_tag.outputs.tag }} echo "Checking for release for tag: ${TAG}" - STATUS=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/tags/${TAG}") || true + STATUS=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${CHARON_TOKEN}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/tags/${TAG}") || true if [ "${STATUS}" = "200" ]; then echo "exists=true" >> $GITHUB_OUTPUT else echo "exists=false" >> $GITHUB_OUTPUT fi env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} - name: Create GitHub Release (tag-only, no workspace changes) if: ${{ steps.semver.outputs.changed && steps.check_release.outputs.exists == 'false' }} @@ -84,4 +84,4 @@ jobs: name: Release ${{ steps.create_tag.outputs.tag }} body: ${{ steps.semver.outputs.release_notes }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 28354ac9..ef284294 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -42,7 +42,7 @@ jobs: name: Go Benchmark tool: 'go' output-file-path: backend/output.txt - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.CHARON_TOKEN }} auto-push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Show alert with commit comment on detection of performance regression alert-threshold: '150%' diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b5c87c31..01a73f63 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -169,7 +169,7 @@ jobs: uses: github/codeql-action/upload-sarif@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5 with: sarif_file: 'trivy-results.sarif' - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.CHARON_TOKEN }} - name: Create summary if: steps.skip.outputs.skip_build != 'true' diff --git a/.github/workflows/release-goreleaser.yml b/.github/workflows/release-goreleaser.yml index cc65b74a..dfecc7d9 100644 --- a/.github/workflows/release-goreleaser.yml +++ b/.github/workflows/release-goreleaser.yml @@ -13,10 +13,10 @@ jobs: goreleaser: runs-on: ubuntu-latest env: - # Use the built-in GITHUB_TOKEN by default for GitHub API operations. + # Use the built-in CHARON_TOKEN by default for GitHub API operations. # If you need to provide a PAT with elevated permissions, add a CHARON_TOKEN secret # at the repo or organization level and update the env here accordingly. - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} steps: - name: Checkout uses: actions/checkout@v4 @@ -47,7 +47,8 @@ jobs: with: version: 0.13.0 - # GITHUB_TOKEN is set from CHARON_TOKEN or CPMP_TOKEN (fallback), defaulting to GITHUB_TOKEN + # CHARON_TOKEN is set from CHARON_TOKEN or CPMP_TOKEN (fallback), defaulting to GITHUB_TOKEN + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 diff --git a/.github/workflows/renovate_prune.yml b/.github/workflows/renovate_prune.yml index b75e836b..7089e435 100644 --- a/.github/workflows/renovate_prune.yml +++ b/.github/workflows/renovate_prune.yml @@ -26,15 +26,15 @@ jobs: run: | if [ -n "${{ secrets.CHARON_TOKEN }}" ]; then echo "Using CHARON_TOKEN" >&2 - echo "GITHUB_TOKEN=${{ secrets.CHARON_TOKEN }}" >> $GITHUB_ENV + echo "CHARON_TOKEN=${{ secrets.CHARON_TOKEN }}" >> $GITHUB_ENV else echo "Using CPMP_TOKEN fallback" >&2 - echo "GITHUB_TOKEN=${{ secrets.CPMP_TOKEN }}" >> $GITHUB_ENV + echo "CHARON_TOKEN=${{ secrets.CPMP_TOKEN }}" >> $GITHUB_ENV fi - name: Prune renovate branches uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: - github-token: ${{ env.GITHUB_TOKEN }} + github-token: ${{ env.CHARON_TOKEN }} script: | const owner = context.repo.owner; const repo = context.repo.repo; From e70df1c3a91447e861f33997c9ea0b01372c054f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 05:35:51 +0000 Subject: [PATCH 6/7] chore(deps): update actions/setup-node action to v6.1.0 (#295) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/quality-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index cb707709..350e8bb4 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: node-version: '24.11.1' cache: 'npm' From 26086989ff7e528146c7053b413899eaa4811821 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 3 Dec 2025 05:38:50 +0000 Subject: [PATCH 7/7] fix(ci): robust tag detection + guard when creating releases --- .github/workflows/auto-versioning.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index a75664da..fb59e238 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -62,10 +62,24 @@ jobs: env: CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} + - name: Determine tag + id: determine_tag + run: | + # Prefer created tag output; if empty fallback to semver version + TAG="${{ steps.create_tag.outputs.tag }}" + if [ -z "$TAG" ]; then + # semver.version contains a tag value like 'vX.Y.Z' or fallback 'v0.0.0' + VERSION_RAW="${{ steps.semver.outputs.version }}" + VERSION_NO_V="${VERSION_RAW#v}" + TAG="v${VERSION_NO_V}" + fi + echo "Determined tag: $TAG" + echo "tag=$TAG" >> $GITHUB_OUTPUT + - name: Check for existing GitHub Release id: check_release run: | - TAG=${{ steps.create_tag.outputs.tag }} + TAG=${{ steps.determine_tag.outputs.tag }} echo "Checking for release for tag: ${TAG}" STATUS=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${CHARON_TOKEN}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/tags/${TAG}") || true if [ "${STATUS}" = "200" ]; then @@ -80,8 +94,8 @@ jobs: if: ${{ steps.semver.outputs.changed && steps.check_release.outputs.exists == 'false' }} uses: softprops/action-gh-release@v1 with: - tag_name: ${{ steps.create_tag.outputs.tag }} - name: Release ${{ steps.create_tag.outputs.tag }} + tag_name: ${{ steps.determine_tag.outputs.tag }} + name: Release ${{ steps.determine_tag.outputs.tag }} body: ${{ steps.semver.outputs.release_notes }} env: CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }}