From fea752cc4d7e4c72a33d5bce4fe8bdaeed137ca7 Mon Sep 17 00:00:00 2001 From: Gemini Nexus Bot Date: Wed, 29 Apr 2026 03:14:42 -0300 Subject: [PATCH] ci: use GITHUB_TOKEN for semantic-release and add tag trigger to publish - Switched from custom GH_TOKEN PAT to built-in GITHUB_TOKEN (always valid) - Added push tags trigger (v*) to publish.yaml since GITHUB_TOKEN releases don't fire the 'on: release' event --- .github/workflows/publish.yaml | 3 +++ .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 49efce2..0d68683 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,6 +1,9 @@ name: Publish Release on: + push: + tags: + - 'v*' release: types: [published] workflow_dispatch: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c1d7e3..4bd2b2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,5 +37,5 @@ jobs: - name: Release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npx semantic-release