Skip to content

Commit

Permalink
Merge pull request #84 from Yoast/JRF/ghactions-add-merge-conflict-check
Browse files Browse the repository at this point in the history
GH Actions: add merge-conflict check
  • Loading branch information
jrfnl authored Dec 24, 2024
2 parents abdc43c + 4ae111e commit 3a07eed
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/merge-conflict-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check PRs for merge conflicts

on:
# Check for new conflicts due to merges.
push:
branches:
- main
- develop
# 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

0 comments on commit 3a07eed

Please sign in to comment.