Skip to content

[plan] Add missing vulnerability-alerts: read permission to 7 workflows using dependabot toolset #22251

@github-actions

Description

@github-actions

Objective

Add missing vulnerability-alerts: read permission to the 7 workflows that use the dependabot toolset but are missing this required permission, eliminating the compiler warnings.

Context

Source: Static Analysis Report - 2026-03-22

Warning type: Missing vulnerability-alerts: read permission (dependabot toolset)
Count: 7 warnings

Affected workflows (from analysis report):

  • daily-firewall-report
  • deep-report
  • dependabot-go-checker
  • github-mcp-structural-analysis
  • github-mcp-tools-report
  • security-review
  • (+ 1 more — investigate to find the 7th)

The compiler warns when a workflow uses the dependabot toolset but doesn't declare vulnerability-alerts: read in its permissions: block. The dependabot toolset requires this permission to list dependabot alerts.

Approach

  1. Find all 7 affected workflow .md files:
    grep -rl "dependabot" .github/workflows/*.md
  2. For each affected workflow, add vulnerability-alerts: read to the permissions block in the frontmatter:
    permissions:
      vulnerability-alerts: read
      # ... other existing permissions
  3. Run make recompile to regenerate all lock files
  4. Verify the 7 compiler warnings are gone

Files to Modify

  • .github/workflows/daily-firewall-report.md
  • .github/workflows/deep-report.md
  • .github/workflows/dependabot-go-checker.md
  • .github/workflows/github-mcp-structural-analysis.md
  • .github/workflows/github-mcp-tools-report.md
  • .github/workflows/security-review.md
  • Investigate and find the 7th workflow

Acceptance Criteria

  • All 7 compiler warnings about missing vulnerability-alerts: read are resolved
  • make recompile produces 0 errors and fewer warnings (at least 7 fewer)
  • The dependabot toolset functions correctly in these workflows with the new permission

Generated by Plan Command for issue #discussion #22240 ·

  • expires on Mar 24, 2026, 8:48 AM UTC

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions