:: limine / .github / workflows / pr_branch_check.yml 401 B raw

1
name: Check that the PR is targetting trunk
2
3
on: [ pull_request ]
4
5
jobs:
6
  pr_branch_check:
7
    name: Check that the PR is targetting trunk
8
    runs-on: ubuntu-latest
9
    steps:
10
      - name: Check that the PR is targetting trunk
11
        if: ${{ github.base_ref != 'trunk' }}
12
        run: |
13
          set -e
14
          echo "The PR is not targetting the trunk branch, please fix that."
15
          false
tab: 248 wrap: offon