From 989d3436999674a9159b6ad23ff31759dd806bda Mon Sep 17 00:00:00 2001 From: Oliver Dudgeon <22367286+OliverDudgeon@users.noreply.github.com> Date: Tue, 13 Jan 2026 16:16:12 +0000 Subject: [PATCH] ci: disable releasedLabels and successComment --- .github/workflows/release.yml | 14 ++++++++------ release.config.mjs | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9e93774d..4a2b4dd18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,17 @@ jobs: new_release_version: ${{ steps.semantic.outputs.new_release_version }} release_sha: ${{ steps.release-sha.outputs.sha }} steps: + - uses: actions/create-github-app-token@v2 + id: app-token + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + - name: Checkout uses: actions/checkout@v6 with: fetch-depth: 0 + token: ${{ steps.app-token.outputs.token }} - name: Setup pnpm uses: pnpm/action-setup@v4 @@ -48,17 +55,12 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - uses: actions/create-github-app-token@v2 - id: app-token - with: - app-id: ${{ secrets.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} - - name: Semantic Release uses: cycjimmy/semantic-release-action@v6 id: semantic env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ steps.app-token.outputs.token }} SEMANTIC_RELEASE_DEBUG: true - name: Capture release SHA diff --git a/release.config.mjs b/release.config.mjs index bd1bae4b8..4f483fdf1 100644 --- a/release.config.mjs +++ b/release.config.mjs @@ -16,7 +16,7 @@ const config = { message: "chore: release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}", }, ], - "@semantic-release/github", + ["@semantic-release/github", { releasedLabels: false, successComment: false }], ], };