Repository navigation
ci: add Dependabot security updates and a weekly dependency audit - #13
Merged
Merged
Conversation
Dependabot opens security PRs only (version updates stay off with open-pull-requests-limit: 0) for npm and github-actions at the root, with a one-day cooldown that mirrors pnpm's minimumReleaseAge. A weekly workflow runs pnpm audit and keeps one issue open while findings remain. zizmor's dependabot-cooldown rule now expects one day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n
|
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.
Summary
brand had no known vulnerabilities, so this PR changes no dependency. It only adds the maintenance files that keep it at zero: Dependabot security updates and a weekly dependency audit.
What was vulnerable
pnpm auditonpnpm-lock.yamlreports nothing. The package has no runtimedependencies; only@changesets/cliand@changesets/changelog-githubas devDependencies, plus the IBM Plex fonts as peers.Maintenance files
.github/dependabot.yml:npmandgithub-actionsat/.open-pull-requests-limit: 0keeps version updates off, so Dependabot opens security PRs only, grouped into onesecuritygroup.cooldown.default-days: 1mirrors pnpm'sminimumReleaseAge: 1440. GitHub applies the cooldown to version updates only, so check the fixed version's age before merging a security PR..github/workflows/dependency-audit.yml: runspnpm auditevery Monday at 09:00 UTC and onworkflow_dispatch. It is not apull_requestcheck, so a new advisory never blocks an unrelated PR. While findings remain it opens or comments on one issue labeleddependency-audit, and it closes that issue on the first clean run..github/zizmor.yml: thedependabot-cooldownrule expects 1 day, matching the config above.Overrides and changesets
skills,tokens,assets,templatesandBRAND-USE.md, and this PR touches only.github/. AGENTS.md says CI changes carry no changeset. changeset-bot will comment, but it is not a required check.Org settings
The dependency graph is off for this repo, so Dependabot shows no alerts and opens no security PRs yet. An org admin enables the dependency graph and Dependabot security updates separately. Until then, the weekly audit is what verifies the zero.
Evidence
pnpm audit→No known vulnerabilities found(exit 0). No Dependabot config and no scheduled audit.RUNNER_TEMP=$(mktemp -d) GITHUB_OUTPUT=/dev/stdout bash -e -o pipefail step.sh→found=false, with an empty report. With the audit line swapped forfalse, the same script printsfound=trueand writes the report section, so a failing audit does reach the issue.pipx run --spec zizmor==1.30.1 zizmor --offline .→No findings to report. Good job! (2 suppressed).ci.yml:pnpm install --frozen-lockfileandpnpm checkpass, with pnpm 10.30.3 from mise.Merge Danger
Door: two-way
Reverting this PR removes all three files.
Blast Radius: none
No published file, dependency or required check changes. The new workflow runs only on its schedule or by hand, and its token can only read contents and write issues.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n