🏗️ Adds action to detect and label PR conflitcts

This commit is contained in:
Alicia Sykes 2021-10-05 11:34:50 +01:00 committed by GitHub
parent 40f4636715
commit f713889e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Detect and label pull requests that have merge conflicts
name: 🏗️ Check Merge Conflicts
on:
push:
branches:
- master
jobs:
check-conflicts:
runs-on: ubuntu-latest
steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "🚫 Merge Conflicts"
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
MAX_RETRIES: 5
WAIT_MS: 5000