From 934ce87095eb7f1da8f4688be91ed3641c7a0087 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 5 Dec 2025 06:25:55 +0000 Subject: [PATCH 1/2] fix(ci): resolve benchmark push and release update failures - Use GITHUB_TOKEN instead of CHARON_TOKEN for benchmark gh-pages push - Add make_latest: false to prevent immutable release update errors - Fixes Performance Regression Check authentication failure - Fixes Auto Versioning target_commitish immutable error --- .github/workflows/auto-versioning.yml | 3 ++- .github/workflows/benchmark.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index e169bbae..875c26d7 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -97,5 +97,6 @@ jobs: tag_name: ${{ steps.determine_tag.outputs.tag }} name: Release ${{ steps.determine_tag.outputs.tag }} body: ${{ steps.semver.outputs.release_notes }} + make_latest: false env: - CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4c56288c..c8c10cf4 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.CHARON_TOKEN }} + github-token: ${{ secrets.GITHUB_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%' From fa9d548908e7964d68aeb41c8814d626acea609c Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 5 Dec 2025 06:38:00 +0000 Subject: [PATCH 2/2] fix(ci): correct conditional for release creation step - Change 'changed' check from truthy string to explicit 'true' comparison - GitHub Actions treats non-empty strings as truthy, causing step to run unexpectedly - This was causing the workflow to attempt updating v0.3.0 release when it shouldn't --- .github/workflows/auto-versioning.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index 875c26d7..f8bb9b08 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -91,7 +91,7 @@ jobs: 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' }} + if: ${{ steps.semver.outputs.changed == 'true' && steps.check_release.outputs.exists == 'false' }} uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2 with: tag_name: ${{ steps.determine_tag.outputs.tag }}