Skip to content

Move the Dependabot alert sweep from the nonexistent PROJECT_TOKEN to the GitHub App token #2547

Open

Description

@cliffhall

Problem

.github/workflows/dependabot-alerts.yml (line 103) passes secrets.PROJECT_TOKEN to the sweep, so that it can place each filed issue on board #28 at Todo / High. That secret has never existed, so every run degrades to filing a labeled, milestoned issue that waits for manual /issue-triage.

Change

Once the GitHub App exists (#2544), switch the workflow to it:

  • Add an actions/create-github-app-token step, SHA-pinned (verify:action-pins, SHA-pin the GitHub Actions that hold secrets or publish (claude-code-action, release job) #2484), that mints an installation token from the App id and private key secrets.
  • Pass that token to the sweep in place of PROJECT_TOKEN, and delete the PROJECT_TOKEN path and its references in the workflow comments and AGENTS.md.
  • Keep the degrade-to-triage fallback, so a run with the secret missing (a fork, for example) still files issues and stays green.
  • Consider moving the alert read to the App as well (Dependabot alerts: read) so the sweep runs under one identity. The workflow's vulnerability-alerts: read already works, so this is optional.

Acceptance

  • A scheduled or dispatched run files a test alert's issue and boards it at Todo / High on Add tab and approval flow for server -> client sampling #28
  • With the App secrets absent, the run still files the issue and logs the triage hand-off
  • verify:action-pins passes, and no PROJECT_TOKEN reference remains

Blocked on

#2544 (the GitHub App). Part of tracker #2543.

Activity

  1. added this to the v2.10.0 milestone on Sep 30, 2026
  2. added
    v2
    chore
    on Sep 30, 2026
  3. cliffhall commented on Sep 30, 2026

    @cliffhall
    MemberAuthor

    Triage: Priority Medium (total 7)

    Board: #28, Status Todo. Part of tracker #2543.

  4. modified the milestones: v2.10.0, v2.11.0, v2.12.0 on Oct 7, 2026
  5. modified the milestones: v2.12.0, v2.13.0 on Oct 20, 2026
  6. modified the milestones: v2.13.0, v2.14.0, v2.15.0 on Oct 28, 2026
  7. modified the milestones: v2.18.0, v2.19.0 on Nov 30, 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

    blockedchorev2

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions