Skip to content

Set PII_DENYLIST org secret to activate the public-pii-gate reusable workflow #62

Description

@saadqbal

Summary

The Public PII gate caller workflow fails in 0 seconds with no jobs on every PR in every repo that adopted it, since 2026-06-17. The reusable workflow it references does not exist on `tracebloc/.github@main`.

Root cause

  • The reusable workflow `.github/workflows/public-pii-gate.yml` exists only on branch `feat/public-pii-gate`, in open PR feat(security): public-repo PII gate (block customer names + secrets in PRs) #60 — which targets develop, and is unmerged.
  • The per-repo callers reference it at `tracebloc/.github/.github/workflows/public-pii-gate.yml@main`.
  • Because the file is absent on `main`, GitHub cannot resolve the reusable workflow → the run ends immediately as a startup failure (REST conclusion `failure`, 0 jobs). Example: cli run 27747191356 → `total_count: 0`.
  • Note: `develop` is currently behind main by 10 / ahead by 0, so merging feat(security): public-repo PII gate (block customer names + secrets in PRs) #60 into develop would NOT fix this — callers consume `@main`. The file must land on main.

Ruled out: org reusable-workflow access policy (other `@main` callers such as `fr-gate` run green from these same public repos) and YAML syntax (file is valid; it simply isn't on main).

Security impact

This gate is meant to block PRs whose title/body/commits contain denylisted customer/partner names or known secrets on public repos. Because it errors out instead of running, PII scanning is non-operational on every adopting repo.

Affected repos (callers reference the missing `@main` workflow)

Fix

  1. Publish `public-pii-gate.yml` to `tracebloc/.github@main` (retarget/merge PR feat(security): public-repo PII gate (block customer names + secrets in PRs) #60 to main).
  2. Confirm the gate runs green on a test PR in `tracebloc/cli`.

Follow-ups

  • Verify the org Actions secret `PII_DENYLIST` is set (`--visibility all`). If unset, the gate runs but exits 0 as INACTIVE (warns, does not block) — PII protection still won't enforce. Requires org admin.
  • Re-trigger the currently-red open PRs in cli so their check turns green.

Refs: PR #60 (tracebloc/.github), tracebloc/cli#81.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions