chore: fix prevents this action from running on forks (#37809)

This commit is contained in:
Dunqing 2022-09-30 16:53:02 +08:00 committed by GitHub
parent 480cb3cbc3
commit ea2b11e4c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ jobs:
name: deploy preview
runs-on: ubuntu-latest
if: >
github.repository == 'ant-design/ant-design' &&
github.event.workflow_run.conclusion == 'success'
steps:
- name: checkout