-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add merge conflict labeler workflow (#4694)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
- Loading branch information
1 parent
daca38a
commit 533af0f
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}' |