mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
test: fix pull request target action ref (#27649)
* test: pull request target action * fix checkout pr ref
This commit is contained in:
parent
e39407e1e5
commit
1b7a642b57
7
.github/workflows/ui.yml
vendored
7
.github/workflows/ui.yml
vendored
@ -11,6 +11,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
if: github.event_name == 'pull_request_target'
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
||||
- name: checkout
|
||||
if: github.event_name == 'push'
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: install
|
||||
|
Loading…
Reference in New Issue
Block a user