summaryrefslogtreecommitdiff
path: root/.github/workflows/label-merge-conflicts.yml
blob: 1de897ca1c407f422183d24b435de9caf31e9505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Autolabel merge conflicts

permissions:
  issues: write
  pull-requests: write

on:
  push:
    branches: [main]

jobs:
  label-merge-conflicts:
    if: github.repository_owner == 'pypa'
    runs-on: ubuntu-latest
    steps:
      - uses: pradyunsg/auto-label-merge-conflicts@v3
        with:
          CONFLICT_LABEL_NAME: "needs rebase or merge"
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}