Skip to content

ci(github): add the Repository checks workflow - #3

Merged
rbright merged 1 commit into
mainfrom
feature/add-repository-checks-pr
Nov 28, 2026
Merged

rbright merged 1 commit into
mainfrom
feature/add-repository-checks-pr

Conversation

@rbright

@rbright rbright commented Nov 28, 2026

Copy link
Copy Markdown
Member

References

None

What

Adds .github/workflows/repository-checks.yml. One job, Repository checks, runs on pull requests to main and on pushes to main. It uses ubuntu-latest and contents: read. It runs Gitleaks over the new commits, markdownlint-cli2 over all *.md files, and actionlint over the workflows.

Why

The Vanta code-change checks need an automated check on each change to this repository.

How to Review

Start with .github/workflows/repository-checks.yml:

  • The Gitleaks step scans base..head for a pull request and before..after for a push. When the base commit is not in the clone, it scans the full history.
  • Each action is pinned by commit SHA. Gitleaks 8.30.1 and actionlint 1.7.12 are release binaries pinned by SHA-256.

Then read .markdownlint-cli2.yaml. It turns off MD013 because the README keeps each paragraph and table row on one line. The README.md change only realigns the pipes of the command table (MD060). No word changes.

Verification

  • actionlint -verbose (1.7.12, with shellcheck): 0 errors.
  • npx markdownlint-cli2@0.24.2 '**/*.md' (the version in the action v25.1.0): 0 issues.
  • gitleaks git --log-opts=HEAD and gitleaks detect (8.30.1) on the full history: no leaks.
  • The Gitleaks step script with the PR range and with a zero base SHA: no leaks, exit 0.
  • git diff -w --word-diff=porcelain README.md: only separator dashes change.

Gitleaks, markdownlint-cli2, and actionlint run in one job on pull requests and pushes to main.
MD013 is off for the one-line README copy. The README table change is whitespace only.
@rbright
rbright requested a review from kthomas as a code owner November 28, 2026 21:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T21:36:50.731611Z e0b8a6d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@rbright
rbright merged commit f9b55b8 into main Nov 28, 2026
1 check passed
@rbright
rbright deleted the feature/add-repository-checks-pr branch November 28, 2026 21:39
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