2021-05-24 21:42:51 +08:00
|
|
|
name: PR Check Merge
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types: [opened]
|
|
|
|
|
2022-04-11 11:15:26 +08:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-05-24 21:42:51 +08:00
|
|
|
jobs:
|
2021-09-22 11:52:14 +08:00
|
|
|
pr-check-merge:
|
2022-04-11 11:15:26 +08:00
|
|
|
permissions:
|
|
|
|
issues: write # for actions-cool/issues-helper to update issues
|
|
|
|
pull-requests: write # for actions-cool/issues-helper to update PRs
|
2021-05-24 21:42:51 +08:00
|
|
|
runs-on: ubuntu-latest
|
2021-05-27 14:11:23 +08:00
|
|
|
if: (github.event.pull_request.head.ref == 'feature' || github.event.pull_request.head.ref == 'master') && github.event.pull_request.head.user.login == 'ant-design'
|
2021-05-24 21:42:51 +08:00
|
|
|
steps:
|
2022-02-21 10:03:56 +08:00
|
|
|
- uses: actions-cool/issues-helper@v3
|
2021-05-24 21:42:51 +08:00
|
|
|
with:
|
2024-09-19 03:30:19 +08:00
|
|
|
actions: create-comment
|
2021-05-24 21:42:51 +08:00
|
|
|
issue-number: ${{ github.event.number }}
|
|
|
|
body: |
|
|
|
|
Hi @${{ github.event.pull_request.user.login }}。
|
|
|
|
|
|
|
|
**请注意**,当前 PR 是分支间的互相合并,请使用 `BranchAutoMerge` 标签来进行自动合并。切记**不要、不要、不要使用 `Squash`**。
|