Revert "Add target check for PR"

This reverts commit 31e93d5774.
This commit is contained in:
Alex Lion
2025-03-13 20:16:08 +01:00
parent 31e93d5774
commit 1790679b6c

View File

@@ -1,16 +0,0 @@
# .github/workflows/check-branches.yml
name: Check PR Source
on:
pull_request_target:
branches: [ "main", "dev" ]
jobs:
validate-branches:
runs-on: ubuntu-latest
steps:
- name: Check source branch
run: |
if [ "${{ github.event.pull_request.head.ref }}" != "dev" ]; then
echo "PRs to main must come from dev branch"
exit 1
fi