2026-01-23 09:55:15 +08:00

19 lines
479 B
YAML

name: Checks
on:
push:
pull_request_target:
types: [synchronize]
jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check if PRs have conflicts
uses: eps1lon/actions-label-merge-conflict@v3
if: ${{ vars.REPO_MAIN == '' || github.repository == vars.REPO_MAIN }}
with:
dirtyLabel: "merge-conflicts"
repoToken: ${{ secrets.MERGE_CONFLICT_LABEL_PAT || secrets.GITHUB_TOKEN }}