Skip to content

Commit 7bdbd9c

Browse files
skip test related pipelines for ready-release-go PRs (#2011) (#2018)
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
1 parent 1d43bbe commit 7bdbd9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.woodpecker.star

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,10 @@ def main(ctx):
479479
if ctx.build.event == "cron" and ctx.build.sender == "translation-sync":
480480
return translation_sync(ctx)
481481

482+
is_release_pr = (ctx.build.event == "pull_request" and ctx.build.sender == "openclouders" and "🎉 release" in ctx.build.title.lower())
483+
if is_release_pr:
484+
return [licenseCheck(ctx)]
485+
482486
build_release_helpers = \
483487
readyReleaseGo()
484488

0 commit comments

Comments
 (0)