• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

strongo / cli-helpers / 34330436995
100%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2026 08:41AM UTC
Jobs 1
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2026 08:40AM UTC coverage: 100.0%. Remained the same
34330436995

push

github

web-flow
ci(release): refuse to publish unless 'Go CI' passed for the commit (#12)

Adopts `require_workflow_success` from `strongo/cicd@v1.18.0`
(strongo/cicd#83), naming this repo's **`Go CI`** workflow.

## Why

`Release` and `Go CI` are **sibling** workflows started by the same
push, with no cross-workflow `needs:` between them. A red suite could
not stop a release.

That is not theoretical. `datatug/datatug-cli` published `v0.13.2` from
a commit whose `go build ./...` was red, and the published binaries were
built against the wrong dependency major:

```
$ go version -m datatug   # from the published v0.13.2 tarball
dep  github.com/google/go-github/v90  v90.0.0     # while go.mod declared v91
```

## What the guard does

It observes `Go CI`'s conclusion for this exact commit and refuses
**before** the tag step mutates anything.

| Situation | Result |
|---|---|
| `Go CI` `success` / `skipped` | release proceeds |
| `failure`, `cancelled`, `timed_out` | **refused before any tag is
cut** |
| Still running | waited for, then refused on timeout |
| Name matches no workflow | **refused**, so a typo cannot quietly
disable it |
| No run for this commit (`paths:` filtered) | proceeds, with a notice |

`actions: read` is granted on the calling job because a reusable
workflow cannot grant itself more than its caller allows.

The pin also moves to `v1.18.0`. No input was removed between the
previous pin and this one.

## Verification

The guard's script was run unmodified against live GitHub data before
release, and rejects `a913de4`, the exact commit that published the
broken `v0.13.2`. Its tests drive that same script against a stubbed
`gh` across five outcomes, and were confirmed to fail when the guard is
stubbed to `exit 0`.

Verified in production on datatug/datatug-cli#190.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

3722 of 3722 relevant lines covered (100.0%)

1.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34330436995.1 09 Sep 2026 08:41AM UTC 27
100.0
GitHub Action Run
Source Files on build 34330436995
  • Tree
  • List 27
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 730c14aa on github
  • Prev Build on main (#34006117637)
  • Next Build on main (#34338505766)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc