Debian Codegraph @

.github/workflows/pr-conflicts.yml

raw symbols SCIP
1 name: "PR Conflicts checker"
2 on: # zizmor: ignore[dangerous-triggers] Uses pull_request_target only to label/comment on PR metadata, not to check out or execute PR code.
3 pull_request_target:
4 types: [synchronize]
5
6 permissions:
7 contents: read
8 issues: write
9 pull-requests: write
10
11 jobs:
12 Conflict_Check:
13 name: 'Check PR status: conflicts and resolution'
14 runs-on: ubuntu-latest
15 steps:
16 - name: check if PRs are dirty
17 uses: eps1lon/actions-label-merge-conflict@0273be72a0bbd58fcd71d0d6c02c209b50d1e5e1 # v3.1.0
18 with:
19 dirtyLabel: "state: conflict"
20 removeOnDirtyLabel: "state: conflict resolved"
21 repoToken: "${{ secrets.GITHUB_TOKEN }}"
22 commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
23 commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."