fix: Skip downstream github jobs for release branch build (#10186)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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') ||
|
||||
|
||||
Reference in New Issue
Block a user