Skip to content

required-baseline: skip the two measured no-ops on private-repo PRs - #364

Merged
bdelanghe merged 2 commits into
mainfrom
claude/required-baseline-private-skip-1hyins
Sep 3, 2026
Merged

required-baseline: skip the two measured no-ops on private-repo PRs#364
bdelanghe merged 2 commits into
mainfrom
claude/required-baseline-private-skip-1hyins

Conversation

@bdelanghe

Copy link
Copy Markdown
Contributor

What

osv and dependency-review in required-baseline.yml get if: github.event.repository.private != true. Job-scoped, so a future repository_dispatch step (.github-private#779) is not caught by the same condition. != true rather than == false so an absent field fails toward scanning.

This workflow is on: pull_request injected by the org ruleset, not a workflow_call reusable — so the calling repo is github.event.repository from the PR payload directly; nothing to plumb.

Why

Both jobs are no-ops on private repos and still bill a startup minute each against the private quota. Measured (actions-spend-census.sh, .github-private#868): .github-private, August 2026, 50 runs × 2 jobs = 100 billable min; run 33701664258 inspected, both jobs green with nothing evaluated. Inferred: ≈250/month forward at September's PR rate.

Whether "no private repo can satisfy GHAS" holds is a plan question (.github-private registry/schema.ts:13 says Team, docs/merge-gate.md:779 says Free; Code Security is purchasable on Team). The header says to revisit the skip if GHAS is enabled.

Verified

  • node --test .claude/*.test.mjs — 300 pass
  • node --test *.test.mjs — 279 pass
  • YAML parses; both jobs carry the if
  • Commit signed; no Closes
  • actionlint not installed locally — CI's _workflow-lint is the check

Done-when still open

The third item on #362 — a private-repo PR observed reporting skipped rather than success — is a post-merge observation.

Part of .github-private#798's plan (deliverable 5 in its 2026-09-03 comment). Claimed here because a public repo's pr-claim cannot read a private claim.

Claim-issue: #362

🤖 Generated with Claude Code

https://claude.ai/code/session_016vMtEPPAZ9y24u9Z4CQA8d


Generated by Claude Code

Both jobs are measured no-ops on the org's private repos — OSV finds no
supported lockfile in .github-private, dependency-review needs GHAS —
yet each fire bills its startup minute against the private quota
(August 2026: 50 runs × 2 jobs = 100 billable min; run 33701664258
inspected, both green with nothing evaluated; ≈250/month forward).

The `if:` is scoped to the two jobs, not the workflow, so a future
repository_dispatch step (.github-private#779) is not skipped with them.
The header records the measurement and that "no private repo can
satisfy GHAS" is a plan question (schema.ts says Team, merge-gate.md
says Free) — revisit the skip if GHAS is enabled.

Claim-issue: #362

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016vMtEPPAZ9y24u9Z4CQA8d
@bdelanghe
bdelanghe marked this pull request as ready for review September 3, 2026 03:01
@bdelanghe
bdelanghe requested a review from a team as a code owner September 3, 2026 03:01
@bdelanghe
bdelanghe merged commit 00ff9cf into main Sep 3, 2026
11 checks passed
@bdelanghe
bdelanghe deleted the claude/required-baseline-private-skip-1hyins branch September 3, 2026 03:02
@bounded-systems-front-desk bounded-systems-front-desk Bot moved this from Todo to Done in Front Desk Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants