mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
test: ignore branchs outside of master (#27929)
This commit is contained in:
parent
0c8a2eb4ae
commit
cb936b1d6f
3
.github/workflows/ui.yml
vendored
3
.github/workflows/ui.yml
vendored
@ -27,7 +27,8 @@ jobs:
|
||||
run: npm run test-image
|
||||
|
||||
- name: argos-ci
|
||||
if: github.event_name == 'pull_request_target'
|
||||
# argos-ci only support base branch, so we should expect master
|
||||
if: github.event_name == 'pull_request_target' && github.base_ref == 'master'
|
||||
run: npm run argos -- --token ${{ secrets.ARGOS_TOKEN }} --branch pull/${{ github.event.pull_request.number }}/merge --commit ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: argos-ci
|
||||
|
Loading…
Reference in New Issue
Block a user