GitHub standards: Dependabot, default-branch ruleset, private-patterns check - #2
Merged
Merged
Conversation
…rivate-patterns CI + pre-commit hook Written by /d-github on 2026-09-18 from skills/d-github/scripts/facts.sh. dependabot.yml: one github-actions entry in the version lane. Merges deploy nothing (plugin repo; every deploy signal empty) and the new workflow pins actions/checkout by SHA, which never moves unwatched. No commit-message prefix: 0 of the last 30 commits are conventional. No pre-commit entry: the only hook is repo: local. rulesets/default-branch.json: the record of ruleset 23647785, already applied. deletion and non_fast_forward always; pull_request with 0 approvals (collaborators: 1, and an author cannot approve their own PR), no code-owner review (no CODEOWNERS), threads must resolve, no bypass. No required_status_checks: no check had ever reported on main. No required_linear_history: merge commits are allowed. private-patterns script, workflow and pre-commit hook: grep the tree for private hostnames from a list that never enters the repo. No list exists yet, so the job passes with a notice until ~/.config/deej-stack/private-patterns and the PRIVATE_PATTERNS secret do.
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.
What
/d-githubrun against this repo on 2026-09-18, all three standards. Facts came fromskills/d-github/scripts/facts.sh..github/dependabot.yml: onegithub-actionsentry, version lane, monthly, two groups. Merges deploy nothing (plugin repo, every deploy signal empty), and the new workflow pinsactions/checkoutby SHA, which never moves unwatched. Nocommit-messageprefix (0 of last 30 commits conventional). Nopre-commitentry: the only hook isrepo: local..github/rulesets/default-branch.json:deletion,non_fast_forward,pull_request(0 approvals because collaborators = 1, threads must resolve, no code-owner review because no CODEOWNERS), no bypass. Norequired_status_checks: no check had ever reported onmain. Norequired_linear_history: merge commits are allowed..github/scripts/private-patterns.sh,.github/workflows/private-patterns.yml(actions/checkoutpinned to3d3c42e= v7.0.1),.pre-commit-config.yaml.Already applied to the repo settings (approved in-session, not part of this diff)
default-branchcreated from the JSON in this PR: id 23647785, active.gh api repos/danjonesio/deej-stack/rules/branches/mainlistsdeletion,non_fast_forward,pull_request. This PR is the first change to go through it.secret_scanningandsecret_scanning_push_protectionwere already enabled.Did not work
secret_scanning_non_provider_patterns: PATCH returned 200 twice (once alone) and the value stayeddisabled. No 422, so nothing confirms the cause; likely not offered for a user-owned public repo on this plan. Check Settings → Code security.Deferred
~/.config/deej-stack/private-patternsdoes not exist, so there is noPRIVATE_PATTERNSsecret and no tree-hit scan was possible. Until both exist, theprivate-patternsjob passes with a notice and checks nothing. To finish: create the file (one extended regex per line), thengh secret set PRIVATE_PATTERNS -R danjonesio/deej-stack < ~/.config/deej-stack/private-patterns.Check on this PR and after merge
private-patternscheck (its first ever run). Once it has reported, add{ "context": "private-patterns" }under arequired_status_checksrule in the ruleset file and re-apply; left out here because a required check that has never reported blocks merging.default-branch.Follow-ups, not done here
required_linear_history: your call, it changes how every PR merges.~/.cursor/plugins/localsymlink as the Cursor dev loop; Cursor's plugin docs now say a symlink pointing outside that folder is skipped.