Skip to content

Commit

Permalink
chore: auto label conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokto committed Oct 25, 2024
1 parent d6eec42 commit 239343f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-label-conflicts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto Label Conflicts
on:
push:
branches: [develop]
pull_request:
branches: [develop]


concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
auto-label:
runs-on: ubuntu-latest
steps:
- uses: prince-chrismc/label-merge-conflicts-action@v3
with:
conflict_label_name: "conflicts"
github_token: ${{ secrets.PERSONAL_TOKEN }}
detect_merge_changes: false # or true to handle as conflicts
conflict_comment: |
:wave: Hi, @${author},
I detected conflicts against the base branch :speak_no_evil:
You'll want to sync :arrows_counterclockwise: your branch with upstream!

0 comments on commit 239343f

Please sign in to comment.