Skip to content

Commit

Permalink
feat: Add merge conflict labeler workflow (#4694)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Elsinga <frank@elsinga.de>
  • Loading branch information
Gauvino and CommanderStorm authored May 19, 2024
1 parent daca38a commit 533af0f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/conflict_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Merge Conflict Labeler

on:
push:
branches:
- master
pull_request_target:
branches:
- master
types: [synchronize]

jobs:
label:
name: Labeling
runs-on: ubuntu-latest
if: ${{ github.repository == 'louislam/uptime-kuma' }}
permissions:
contents: read
pull-requests: write
steps:
- name: Apply label
uses: eps1lon/actions-label-merge-conflict@v3
with:
dirtyLabel: 'needs:resolve-merge-conflict'
removeOnDirtyLabel: 'needs:resolve-merge-conflict'
repoToken: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit 533af0f

Please sign in to comment.