Skip to content

Commit

Permalink
Detect PRs that have a conflict, now with comments
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <fbricon@gmail.com>
  • Loading branch information
fbricon committed Jul 16, 2020
1 parent 8c895af commit 239d484
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/conflictDetector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: mschilde/auto-label-merge-conflicts@master
- uses: Marr11317/ConflictAdviser@v1
with:
CONFLICT_LABEL_NAME: "has conflicts"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
conflict_label: "has conflicts"
comment: 'Merge conflicts detected!'

0 comments on commit 239d484

Please sign in to comment.