1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-28 08:58:41 +02:00

Fix merge conflict labeling

This commit is contained in:
Mark McDowall 2024-04-15 20:40:39 -07:00 committed by Mark McDowall
parent ef6cc7fa3a
commit cf6748a80c

View File

@ -5,20 +5,22 @@ on:
branches:
- develop
pull_request_target:
issue_comment:
permissions: {}
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
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request_target'}}
with:
dirtyLabel: 'merge-conflict'
repoToken: "${{ secrets.GITHUB_TOKEN }}"
repoToken: '${{ secrets.GITHUB_TOKEN }}'