From 61141093f35ebc7fa3c8e75dc7f6d2d54bbed55d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 25 Feb 2026 08:53:34 +0100 Subject: [PATCH] Use PUNYCI=wait in post-commit mode to wait for the CI job --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index e02fb33..b8784ea 100644 --- a/main.go +++ b/main.go @@ -93,8 +93,9 @@ func postCommit() error { if err != nil { return err } + pushOptions := strings.Split(os.Getenv("PUNYCI"), ",") - return foreground(oid, branch, nil) + return foreground(oid, branch, pushOptions) } func foreground(oid, branch string, pushOptions []string) error { -- 2.52.0