ci: fix user
This commit is contained in:
6
.github/scripts/build.mjs
vendored
6
.github/scripts/build.mjs
vendored
@@ -172,8 +172,12 @@ function testcase(name, env, args) {
|
||||
if (env === "prod") {
|
||||
result.if = "${{ success() || failure() }}"
|
||||
result.uses = "lowlighter/metrics@master"
|
||||
Object.assign(result.with, { plugins_errors_fatal: "yes", output_action: "none", delay: 120 })
|
||||
Object.assign(result.with, { output_action: "none", delay: 120 })
|
||||
|
||||
for (const {property, value} of [{property: "user", value: "lowlighter"}, {property:"plugins_errors_fatal", value: "yes"}]) {
|
||||
if (!(property in result.with))
|
||||
result.with[property] = value
|
||||
}
|
||||
if ((context.with?.output_action) && (context.with?.committer_branch === "examples"))
|
||||
Object.assign(result.with, { output_action: context.with.output_action, committer_branch: "examples" })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user