Skip to content

Enable dependency alerts, automated updates, and main-branch protection #129

Description

@itsjling

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

In ReviewImplementation PR is ready for reviewenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions