Skip to content

Commit

Permalink
Merge pull request #168 from Yoast/JRF/ghactions-add-merge-conflict-c…
Browse files Browse the repository at this point in the history
…heck

GH Actions: add merge-conflict check
  • Loading branch information
jrfnl authored Dec 24, 2024
2 parents 7ab0172 + 3c92ff5 commit db9932e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/merge-conflict-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check PRs for merge conflicts

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

Please sign in to comment.