Merge branch 'main' into feature/magicplan-trigger

This commit is contained in:
Daniel Roth 2026-05-12 14:56:11 +00:00
commit a05dfd38c7

17
.github/workflows/protect_releases.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Restrict PR source
on:
pull_request:
branches:
- dev
jobs:
check-source-branch:
runs-on: ubuntu-latest
steps:
- name: Fail if PR is not from main
run: |
if [[ "${{ github.head_ref }}" != "main" ]]; then
echo "Only PRs from main are allowed into dev"
exit 1
fi