From: Simon Ruderich Date: Wed, 25 Feb 2026 07:53:34 +0000 (+0100) Subject: Use PUNYCI=wait in post-commit mode to wait for the CI job X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=61141093f35ebc7fa3c8e75dc7f6d2d54bbed55d;p=punyci%2Fpunyci.git Use PUNYCI=wait in post-commit mode to wait for the CI job --- 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 {