Add a failing check on PRs not targeting devel

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt
2021-04-05 13:26:24 -04:00
committed by Thomas Pantelis
parent e0c75d7db2
commit c16442ac29
+14
View File
@@ -0,0 +1,14 @@
---
name: Branch Checks
on:
pull_request:
jobs:
target_devel:
name: PR targets devel
runs-on: ubuntu-latest
steps:
- name: Check that the PR targets devel
if: ${{ github.base_ref != 'devel' }}
run: exit 1