File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 33name : Release
44
55on :
6+ repository_dispatch :
7+ types : [run-release]
68 push :
79 branches :
810 - main
Original file line number Diff line number Diff line change 77 push :
88 branches :
99 - main
10+ workflow_run :
11+ workflows : [Release]
12+ types : [completed]
1013
1114env :
1215 VISUAL_REGRESSION_SNAPSHOT_DIRECTORY : " __image_snapshots__"
1518 test :
1619 name : Run Tests
1720 runs-on : ubuntu-latest
18- if : github.event.ref != 'refs/heads/main'
21+ if : ( github.event.ref || github.event.workflow_run.head_branch) != 'refs/heads/main'
1922 steps :
2023 - uses : actions/checkout@v4
2124 - uses : actions/setup-node@v4
4447 update :
4548 name : Update Snapshots
4649 runs-on : ubuntu-latest
47- if : github.event.ref = = 'refs/heads/main'
50+ if : ( github.event.ref || github.event.workflow_run.head_branch) ! = 'refs/heads/main'
4851 steps :
4952 - uses : actions/checkout@v4
5053 - uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments