mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
252d54f27b
判断条件欠缺
20 lines
704 B
YAML
20 lines
704 B
YAML
name: PR Check Merge
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened]
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-latest
|
|
if: (github.event.pull_request.head.ref == 'feature' || github.event.pull_request.head.ref == 'master') && github.event.pull_request.head.user.login == 'ant-design'
|
|
steps:
|
|
- uses: actions-cool/issues-helper@v2.2.1
|
|
with:
|
|
actions: 'create-comment'
|
|
issue-number: ${{ github.event.number }}
|
|
body: |
|
|
Hi @${{ github.event.pull_request.user.login }}。
|
|
|
|
**请注意**,当前 PR 是分支间的互相合并,请使用 `BranchAutoMerge` 标签来进行自动合并。切记**不要、不要、不要使用 `Squash`**。
|