1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01: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 }}'