summaryrefslogtreecommitdiffstats
path: root/.github/workflows/conflict_labeler.yml
blob: fdcc9c55163a22ba94e36ce120267878d54aece2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Merge Conflict Labeler

on:
  push:
    branches:
      - master
  pull_request_target:
    branches:
      - master
    types: [synchronize]

jobs:
  label:
    name: Labeling
    runs-on: ubuntu-latest
    if: ${{ github.repository == 'louislam/uptime-kuma' }}
    permissions:
      contents: read
      pull-requests: write
    steps:
      - name: Apply label
        uses: eps1lon/actions-label-merge-conflict@v3
        with:
          dirtyLabel: 'needs:resolve-merge-conflict'
          repoToken: '${{ secrets.GITHUB_TOKEN }}'