Skip to content

Commit

Permalink
ci: Add Action to add label to PR on merge conflict
Browse files Browse the repository at this point in the history
Adds a GitHub Action that auto-adds a label to a PR in case there are merge conflicts.
  • Loading branch information
GeckoEidechse committed Dec 20, 2023
1 parent f490e49 commit fb93d96
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/merge-conflict-auto-label.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fb93d96

Please sign in to comment.