From 8cb6d4766cac547c821c6f782ab5a2d041a08696 Mon Sep 17 00:00:00 2001 From: Lifei Zhou Date: Thu, 2 Jul 2026 14:38:40 +1000 Subject: [PATCH] fix: Skip downstream github jobs for release branch build (#10186) --- .github/workflows/build-notify.yml | 4 +++- .github/workflows/goose-release-notes.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-notify.yml b/.github/workflows/build-notify.yml index 8b2bf465e..552aa275c 100644 --- a/.github/workflows/build-notify.yml +++ b/.github/workflows/build-notify.yml @@ -7,6 +7,8 @@ on: - Release - Canary types: [completed] + branches-ignore: + - "release/**" jobs: @@ -34,4 +36,4 @@ jobs: "color": 15158332 }] }' \ - "$DISCORD_WEBHOOK_URL" \ No newline at end of file + "$DISCORD_WEBHOOK_URL" diff --git a/.github/workflows/goose-release-notes.yml b/.github/workflows/goose-release-notes.yml index 866a54cbb..9a4ffd2c7 100644 --- a/.github/workflows/goose-release-notes.yml +++ b/.github/workflows/goose-release-notes.yml @@ -15,6 +15,8 @@ on: - Release types: - completed + branches-ignore: + - "release/**" # Allow manual trigger for testing workflow_dispatch: @@ -76,7 +78,7 @@ jobs: generate-release-notes: name: Generate Release Notes runs-on: ubuntu-latest - # For workflow_run: only run if Release succeeded and tag is not 'stable' + # For workflow_run: release branch preflight builds are ignored by the trigger. # For workflow_dispatch: only run if tag is not 'stable' if: | (github.event_name == 'workflow_dispatch' && inputs.tag != 'stable') ||