CI: push runs only on main; branches are tested through their pull request [skip ci]
A push of many branches at once (the migration pushed 100 of Atrium's) started a run per branch and flooded the runners. Every pull request is still tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
# cascade/* branches are tested through their pull request (kaskada), not twice
|
||||
branches-ignore: ["cascade/**"]
|
||||
# main only: a branch is tested through its pull request (a push of many branches at once
|
||||
# must not flood the runners)
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -12,6 +12,7 @@ name: deploy kit
|
||||
# complete.
|
||||
on:
|
||||
push:
|
||||
branches: [main] # main only; branches are tested through their PR
|
||||
paths:
|
||||
- "deploy/**"
|
||||
- ".github/workflows/deploy-kit.yml"
|
||||
|
||||
Reference in New Issue
Block a user