Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit beae818

Browse files
committed
u
1 parent dbaa5ef commit beae818

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/actions/bytebase-cicd/dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32641,7 +32641,8 @@ async function run() {
3264132641
return acc + step.specs.length;
3264232642
}, 0);
3264332643
if (s === 0) {
32644-
throw new Error('plan has no specs');
32644+
core.warning('plan has no specs');
32645+
return;
3264532646
}
3264632647
const plan = await (0, bb_1.createPlan)(pPlan);
3264732648
const rollout = await (0, bb_1.createRollout)({ plan: plan.name });

.github/actions/bytebase-cicd/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/bytebase-cicd/src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ export async function run(): Promise<void> {
113113
return acc + step.specs.length
114114
}, 0)
115115
if (s === 0) {
116-
throw new Error('plan has no specs')
116+
core.warning('plan has no specs')
117+
return
117118
}
118119

119120
const plan = await createPlan(pPlan)

0 commit comments

Comments
 (0)