1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-03-05 13:20:20 -05:00

Add merge conflict labeler

This commit is contained in:
Gauvino
2024-04-16 05:25:13 +02:00
committed by GitHub
parent d71c619f1a
commit 016c4b353b

24
.github/workflows/conflict_labeler.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Merge Conflict Labeler
on:
push:
branches:
- develop
pull_request_target:
issue_comment:
permissions: {}
jobs:
label:
name: Labeling
runs-on: ubuntu-latest
if: ${{ github.repository == 'Sonarr/Sonarr' }}
steps:
- name: Apply label
uses: eps1lon/actions-label-merge-conflict@v3
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request_target'}}
with:
dirtyLabel: 'merge-conflict'
repoToken: "${{ secrets.GITHUB_TOKEN }}"