Skip to content

Commit

Permalink
ci: Add merge conflict labeler workflow (#2)
Browse files Browse the repository at this point in the history
This adds a GitHub Action workflow that runs `mschilde/auto-label-merge-conflicts` once a day on all org repos.
  • Loading branch information
GeckoEidechse authored Aug 8, 2024
1 parent 32dc70d commit 0df410a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/merge-conflict-auto-label.yml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Merge Conflict Auto Label
on:
workflow_dispatch: # Manual run
push:
branches:
- main
schedule:
- cron: "10 21 * * *" # Runs at 21:10; time was chosen based on contributor activity and low GitHub Actions cron load.

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 0df410a

Please sign in to comment.