mirror of https://github.com/Lissy93/dashy.git
17 lines
451 B
YAML
17 lines
451 B
YAML
# 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 || secrets.GITHUB_TOKEN }}
|
|
MAX_RETRIES: 5
|
|
WAIT_MS: 5000
|