From 3724ae7549cb4d105e0ee1103b59b61deafabc8a Mon Sep 17 00:00:00 2001 From: snomiao Date: Fri, 13 Mar 2026 02:01:58 +0000 Subject: [PATCH] [fix] Remove debug push trigger from release-api-changelogs workflow Remove the push trigger for sno-api-changelog branch that was added for testing purposes. The workflow now only runs on successful completion of the Release NPM Types workflow. Also simplify the PR base branch to always target main. --- .github/workflows/release-api-changelogs.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-api-changelogs.yaml b/.github/workflows/release-api-changelogs.yaml index 028af8ac77..707385bce2 100644 --- a/.github/workflows/release-api-changelogs.yaml +++ b/.github/workflows/release-api-changelogs.yaml @@ -5,9 +5,6 @@ on: workflows: ['Release NPM Types'] types: - completed - push: - branches: - - sno-api-changelog concurrency: group: release-api-changelogs-${{ github.workflow }} @@ -17,8 +14,8 @@ jobs: generate_changelog: name: Generate API Changelog runs-on: ubuntu-latest - # Only run on successful completion of the Release NPM Types workflow or on push to sno-api-changelog - if: ${{ github.event_name == 'push' || github.event.workflow_run.conclusion == 'success' }} + # Only run on successful completion of the Release NPM Types workflow + if: ${{ github.event.workflow_run.conclusion == 'success' }} permissions: contents: write pull-requests: write @@ -195,7 +192,7 @@ jobs: --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) branch: api-changelog-v${{ steps.current_version.outputs.version }} - base: ${{ github.event_name == 'push' && github.ref_name || 'main' }} + base: main labels: documentation delete-branch: true draft: true