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:
admin
2026-11-30 16:39:16 +01:00
co-authored by Claude Opus 5.5
parent 82df340216
commit d379ce2288
+6 -1
View File
@@ -1,5 +1,10 @@
name: CI
on: [push, pull_request]
on:
push:
# 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:
backend: