mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
ci: update visual-regression diff build config (#46353)
This commit is contained in:
parent
8d7e0bc922
commit
6e8108a40a
@ -4,6 +4,7 @@ name: 👀 Visual Regression Diff Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master, feature]
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
# Cancel prev CI if new commit come
|
||||
|
@ -55,8 +55,7 @@ jobs:
|
||||
issues: write # for actions-cool/maintain-one-comment to modify or create issue comments
|
||||
pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments
|
||||
runs-on: ubuntu-latest
|
||||
needs: upstream-workflow-summary
|
||||
if: github.event.workflow_run.event == 'push_request' && github.event.push_request.head.ref == 'master'
|
||||
needs: [upstream-workflow-summary]
|
||||
steps:
|
||||
# We need get persist-index first
|
||||
- name: download image snapshot artifact
|
||||
|
@ -7,10 +7,9 @@
|
||||
name: 👀 Visual Regression Diff Start
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["👀 Visual Regression Diff Build"]
|
||||
types:
|
||||
- in_progress
|
||||
pull_request:
|
||||
branches: [master, feature]
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
Loading…
Reference in New Issue
Block a user