2020-12-04 07:59:35 +08:00
|
|
|
name: Merge conflict check
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check for dirty pull requests
|
|
|
|
uses: eps1lon/actions-label-merge-conflict@releases/2.x
|
|
|
|
with:
|
2021-04-05 00:39:36 +08:00
|
|
|
dirtyLabel: "status: conflict"
|
2020-12-04 07:59:35 +08:00
|
|
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
commentOnDirty: |
|
|
|
|
This pull request has conflicts ☹
|
|
|
|
Please resolve those so we can review the pull request.
|
|
|
|
Thanks.
|