Skip to content

chore(deps): enable Dependabot security updates #6277

Not planned

Description

@devops-cli-service

Split from #5539.

Problem: Dependabot security updates need the repository settings Dependabot alerts and Dependabot security updates turned on. AGENTS.md:21 leaves repository settings to a person, and an agent cannot change them. The owner decided on 2026-11-13 to turn them on until Renovate runs (#4905). The config .github/dependabot.yml is added by #5539. This issue holds the owner setting and the first security pull request check, so #5539 can reach Ready. Why deferred: only the owner can change a repository setting. Acceptance criteria: The owner turns on Dependabot alerts and Dependabot security updates in the repository settings. The first Dependabot security pull request has a title that starts with fix(deps): and the Semantic PR title check passes. The pull request has the scope/deps label and no undeclared label. The Dependabot log shows no configuration error. A long npm title is shortened before the merge, or this issue records why not. A workflow run of a Dependabot pull request that needs an Actions value records the failure on this issue.

Proposed design

Problem statement

Dependabot security updates need the repository settings Dependabot alerts and Dependabot security updates. Only the owner can change these settings. This issue records the owner's 2026-11-13 decision to enable both until Renovate runs (#4905). The config .github/dependabot.yml is added by #5539. The first security pull request check moves to a deferred issue because it waits on #5539 and on Dependabot.

Acceptance criteria

Requirement: Dependabot alerts are enabled

The repository MUST have Dependabot alerts enabled.

Scenario: The alerts setting is read

  • WHEN The owner runs gh api repos/dan-petty/devops-cli/vulnerability-alerts.
  • THEN The command exits 0.

Requirement: Dependabot security updates are enabled

The repository MUST have Dependabot security updates enabled.

Scenario: The security updates setting is read

  • WHEN The owner runs gh api repos/dan-petty/devops-cli/automated-security-fixes --jq '.enabled'.
  • THEN The command prints true.

Existing Tool Considered

No alternatives check has run. No open tool covers the need: the need is a GitHub repository setting. GitHub Dependabot security updates is the maintained GitHub service that covers it. It lacks an agent path under AGENTS.md; only a person enables the two settings. No custom code is built.

Key questions

  • Should the repository enable Dependabot alerts and Dependabot security updates?: Yes. The owner decided on 2026-11-13 to enable both until Renovate runs (feat(k8s): run self-hosted Renovate as a CronJob in devops #4905). (best practice) [sources: AGENTS.md:21, docs/SDLC.md]
    • Chosen: Enable Dependabot alerts and Dependabot security updates. The owner recorded this decision on 2026-11-13, and AGENTS.md leaves repository settings to a person.
    • Rejected: Wait for Renovate. Renovate already proposes security fixes, but the owner set Dependabot as the stopgap until Renovate runs.
    • Rejected: Leave both settings off. Dependabot opens no security pull request when the two settings are off.
  • Who changes the repository settings?: The owner. AGENTS.md leaves repository settings to a person, and an agent does not change them. (a person decides) [sources: AGENTS.md:21]
  • How does the issue verify the two repository settings?: Use the GitHub REST API through gh api. The vulnerability-alerts endpoint exits 0 when alerts are on. The automated-security-fixes endpoint prints true when security updates are on. (best practice) [sources: docs/adr/0004-ci-is-the-authoritative-gate.md]
    • Chosen: gh api against the two GitHub REST endpoints. ADR 0004 reads repository settings with gh api, and the endpoints give a repeatable live check.
    • Rejected: Manual check in the GitHub settings page. A manual page check gives no command result that a later run can repeat.

Open questions

  • Who changes the repository settings? (a person decides)

Fit

Fits in one pull request.

Suspected block

The owner must enable Dependabot alerts and Dependabot security updates in the repository settings.

Dependencies

None.

Activity

  1. added
    type/chore
    source/agent
    status/new
    value/medium
    on Nov 18, 2026
  2. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor
  3. added
    effort/low
    scope/deps
    priority/p2-medium
    on Nov 18, 2026
  4. changed the title [-]chore(deps): enable Dependabot security updates in the repository settings[/-] [+]chore(deps): enable Dependabot security updates[/+] on Nov 18, 2026
  5. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor

    The job shortened the title of this item. The summary had 61 characters, and the limit is 60. The type and the scope stay.

    • Before: chore(deps): enable Dependabot security updates in the repository settings
    • After: chore(deps): enable Dependabot security updates
    • Source of the summary: the background model
  6. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: Who changes the repository settings? (a person decides)

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  7. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See the first point of Open questions in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  8. dan-petty commented on Nov 26, 2026

    @dan-petty
    Owner

    Closed: do not turn on Dependabot security updates.

    The owner decision of 2026-11-13 held only until Renovate ran. Renovate runs now, and the repository baseline of devops repos onboard (dan-petty/infra) keeps Dependabot security updates off. #5539, which would add the config file, is closed too.

  9. removed
    status/new
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/depssource/agenttype/chorevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions