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:
GeckoEidechse 2023-12-20 16:03:31 +01:00 committed by GitHub
parent 1e5c4a7f6a
commit bb8ed59f68
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 @@
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