Skip to content

Add contribution guardrails for public skills - #1

Merged
itsyusufahmed merged 1 commit into
mainfrom
chore/contribution-guardrails
Jun 16, 2026
Merged

itsyusufahmed merged 1 commit into
mainfrom
chore/contribution-guardrails

Conversation

@itsyusufahmed

Copy link
Copy Markdown
Contributor

Sets up the contribution gate for this public repo so the team can open skill PRs without risking client-data leaks.

  • leak-scan CI (utils/leak_scan.py + workflow): scans the lines each PR adds and fails on pricing-in-context, internal paths, Fathom links, non-allowlisted emails, and a denylist of client/staff names (loaded from the LEAKSCAN_DENYLIST secret). Generic $50/month-style examples and allowlisted emails pass.
  • CODEOWNERS: routes every PR to @itsyusufahmed for review.
  • PR template with a sanitization checklist + CONTRIBUTING.md documenting the develop-in-private → extract-to-public workflow.
  • Real denylist stays in a gitignored .leakscan-denylist.txt; only the .example placeholder is committed.

After merge: LEAKSCAN_DENYLIST secret + branch protection on main (require PR + Code Owner review + the scan check).

CODEOWNERS (Yusuf reviews every PR), PR sanitization checklist, CONTRIBUTING
(develop-private/extract-public norm), and a leak-scan CI gate that blocks
pricing, client/staff names, internal paths, and PII from entering this public
repo. Scanner gates the lines a PR adds (diff mode, fetch-depth 0); real denylist
values stay in a gitignored file locally and the LEAKSCAN_DENYLIST secret in CI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@itsyusufahmed
itsyusufahmed merged commit 5b2b5dc into main Jun 16, 2026
1 check passed
@itsyusufahmed
itsyusufahmed deleted the chore/contribution-guardrails branch June 16, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant