Skip to content

Merge pull request #219 from Yoast/JRF/ghactions-add-merge-conflict-c… #1

Merge pull request #219 from Yoast/JRF/ghactions-add-merge-conflict-c…

Merge pull request #219 from Yoast/JRF/ghactions-add-merge-conflict-c… #1

name: Check PRs for merge conflicts
on:
# Check for new conflicts due to merges.
push:
branches:
- 'main'
- 1.x
- 2.x
- 3.x
# Check conflicts in new PRs and for resolved conflicts due to an open PR being updated.
pull_request_target:
types:
- opened
- synchronize
- reopened
jobs:
check-prs:
if: github.repository_owner == 'Yoast'
name: Check PRs for merge conflicts
uses: Yoast/.github/.github/workflows/reusable-merge-conflict-check.yml@main