diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index e169bbae..f8bb9b08 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -91,11 +91,12 @@ 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 }} 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%'