Add Action to add label to PR on merge conflict (#621)
Adds a GitHub Action that auto-adds a label to a PR in case there are merge conflicts.
This commit is contained in:
parent
1e5c4a7f6a
commit
bb8ed59f68
|
@ -0,0 +1,16 @@
|
|||
name: Merge Conflict Auto Label
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mschilde/auto-label-merge-conflicts@master
|
||||
with:
|
||||
CONFLICT_LABEL_NAME: "merge conflicts"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
MAX_RETRIES: 5
|
||||
WAIT_MS: 5000
|
Loading…
Reference in New Issue