Repository navigation
ci(github): add the Repository checks workflow - #3
Merged
Merged
Conversation
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.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
None
What
Adds
.github/workflows/repository-checks.yml. One job,Repository checks, runs on pull requests tomainand on pushes tomain. It usesubuntu-latestandcontents: read. It runs Gitleaks over the new commits, markdownlint-cli2 over all*.mdfiles, 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:base..headfor a pull request andbefore..afterfor a push. When the base commit is not in the clone, it scans the full history.Then read
.markdownlint-cli2.yaml. It turns off MD013 because the README keeps each paragraph and table row on one line. TheREADME.mdchange 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=HEADandgitleaks detect(8.30.1) on the full history: no leaks.git diff -w --word-diff=porcelain README.md: only separator dashes change.