26 lines
534 B
YAML
26 lines
534 B
YAML
name: Merge Conflict Labeler
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
pull_request_target:
|
|
branches:
|
|
- develop
|
|
types: [synchronize]
|
|
|
|
jobs:
|
|
label:
|
|
name: Labeling
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'Sonarr/Sonarr' }}
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
- name: Apply label
|
|
uses: eps1lon/actions-label-merge-conflict@v3
|
|
with:
|
|
dirtyLabel: 'merge-conflict'
|
|
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
|
|