Skip to content

Merge pull request #232 from PHPCSStandards/dependabot/github_actions… #170

Merge pull request #232 from PHPCSStandards/dependabot/github_actions…

Merge pull request #232 from PHPCSStandards/dependabot/github_actions… #170

name: Check PRs for merge conflicts
on:
# Check for new conflicts due to merges.
push:
branches:
- stable
- 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:
runs-on: ubuntu-latest
if: github.repository_owner == 'PHPCSStandards'
name: Check PRs for merge conflicts
steps:
- name: Check PRs for merge conflicts
uses: eps1lon/actions-label-merge-conflict@0273be72a0bbd58fcd71d0d6c02c209b50d1e5e1 # v3.1.0
with:
dirtyLabel: "Status: has merge conflict"
repoToken: ${{ secrets.GITHUB_TOKEN }}