Problem
The repository currently has no branch protection or rulesets. Dependabot alerts and security updates are disabled, and there is no dependency-update config. These gaps weaken supply-chain controls even though the current production dependency audit reports no known vulnerabilities.
Scope
- Enable the dependency graph, Dependabot alerts, and Dependabot security updates.
- Add
.github/dependabot.yml for the pnpm package graph and GitHub Actions.
- Use a measured update schedule and pull-request limit so updates remain reviewable.
- Add a
main branch rule that blocks force pushes and deletion.
- Require pull requests and the stable CI checks that must pass before merge.
- Decide whether to require one approving review; record the choice in this issue.
- Confirm repository admins retain a documented recovery path.
Acceptance checks
- GitHub reports vulnerability alerts and security updates as enabled.
- Dependabot can open version-update PRs for npm and GitHub Actions.
- Direct pushes that bypass the chosen rule are blocked for the intended actors.
- Required checks match current workflow job names and do not deadlock scheduled or manual runs.
- The initial OpenSSF Scorecard result detects the dependency-update tool and branch rule.
corepack pnpm run lint and corepack pnpm test pass for file changes.
Current evidence
main returns “Branch not protected.”
- The repository has no rulesets.
- Dependabot alerts are disabled.
- Dependabot security updates are disabled.
corepack pnpm audit --prod reports zero known vulnerabilities today; this ticket is about continued detection and safe updates.
Problem
The repository currently has no branch protection or rulesets. Dependabot alerts and security updates are disabled, and there is no dependency-update config. These gaps weaken supply-chain controls even though the current production dependency audit reports no known vulnerabilities.
Scope
.github/dependabot.ymlfor the pnpm package graph and GitHub Actions.mainbranch rule that blocks force pushes and deletion.Acceptance checks
corepack pnpm run lintandcorepack pnpm testpass for file changes.Current evidence
mainreturns “Branch not protected.”corepack pnpm audit --prodreports zero known vulnerabilities today; this ticket is about continued detection and safe updates.