Merge pull request #524 from PHPCSStandards/feature/common-add-tests-… #1176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PRs for merge conflicts | |
on: | |
# Check for new conflicts due to merges. | |
push: | |
branches: | |
- master | |
- 4.0 | |
# 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@v3 | |
with: | |
dirtyLabel: "Status: has merge conflict" | |
repoToken: ${{ secrets.GITHUB_TOKEN }} |