Merge pull request #2594 from jellyfin/merge-conflict-label

This commit is contained in:
Bill Thornton 2021-06-23 21:05:34 -04:00 committed by GitHub
commit b55499b881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 18 deletions

16
.github/workflows/automation.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: 'Automation'
on:
push:
pull_request_target:
jobs:
triage:
name: 'Merge conflict labeling'
runs-on: ubuntu-latest
steps:
- uses: eps1lon/actions-label-merge-conflict@v2.0.1
if: ${{ github.repository == 'jellyfin/jellyfin-web' }}
with:
dirtyLabel: 'merge conflict'
repoToken: ${{ secrets.JF_BOT_TOKEN }}

View File

@ -1,18 +0,0 @@
name: "Merge Conflicts"
on:
push:
branches:
- master
pull_request:
types:
- synchronize
jobs:
triage:
runs-on: ubuntu-latest
if: github.repository == 'jellyfin/jellyfin-web'
steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "merge conflict"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}