fix: Skip downstream github jobs for release branch build (#10186)

This commit is contained in:
Lifei Zhou
2026-07-02 14:38:40 +10:00
committed by GitHub
parent 185b185fb8
commit 8cb6d4766c
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -7,6 +7,8 @@ on:
- Release
- Canary
types: [completed]
branches-ignore:
- "release/**"
jobs:
@@ -34,4 +36,4 @@ jobs:
"color": 15158332
}]
}' \
"$DISCORD_WEBHOOK_URL"
"$DISCORD_WEBHOOK_URL"
+3 -1
View File
@@ -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') ||