16 lines
401 B
YAML
16 lines
401 B
YAML
name: Check that the PR is targetting trunk
|
|
|
|
on: [ pull_request ]
|
|
|
|
jobs:
|
|
pr_branch_check:
|
|
name: Check that the PR is targetting trunk
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check that the PR is targetting trunk
|
|
if: ${{ github.base_ref != 'trunk' }}
|
|
run: |
|
|
set -e
|
|
echo "The PR is not targetting the trunk branch, please fix that."
|
|
false
|