Skip to content

ci: prevent merge of stacked PRs #4

ci: prevent merge of stacked PRs

ci: prevent merge of stacked PRs #4

Workflow file for this run

name: Stacked PRs
on:
pull_request:
pull_request_target:
jobs:
prevent_merge_of_stacked_pr:
runs-on: ubuntu-latest
steps:
- name: Check that base is "main"
run: |
echo "${GITHUB_BASE_REF}"
if [[ "${GITHUB_BASE_REF}" != "main" ]]; then
exit 1;
fi