Skip to content

[P1] dependabot-go-checker compilation failure breaks Agentic Maintenance #28061

Closed

Description

@github-actions

Workflow: dependabot-go-checker.md
Impact: Agentic Maintenance workflow fails at compile-workflows step — 199/200 compiled, 1 error
First seen: 2026-04-23T11:00Z run §24831492077

Error

✗ dependabot-go-checker.md
dependabot-go-checker.md:1:1: error: invalid workflow: GitHub Actions schema validation failed
- at '/jobs/agent/permissions': 'oneOf' failed, none matched
  - at '/jobs/agent/permissions': additional properties 'vulnerability-alerts' not allowed

Root Cause

dependabot-go-checker.md declares vulnerability-alerts: read in its permissions: block. The GitHub Actions JSON schema does not allow vulnerability-alerts as a permissions key in a job's permissions block — it appears the gh-aw compiler previously accepted this but now the schema validation is rejecting it.

Fix Options

  1. Remove vulnerability-alerts: read from frontmatter — if the workflow doesn't actually need this permission at the job level, remove it. The permission may be a leftover from a toolset requirement.
  2. Move to workflow-level permissions — if needed, vulnerability-alerts may need to be specified at the workflow top-level rather than the job level.
  3. Update compiler schema — if vulnerability-alerts is a valid GitHub Actions job-level permission, update the JSON schema used by the compiler.

Frontmatter (current)

permissions:
  contents: read
  actions: read
  issues: read
  pull-requests: read
  security-events: read
  vulnerability-alerts: read  # <-- this line causes schema validation failure

Impact

Agentic Maintenance fails on every run until this is resolved. The workflow cannot compile and thus cannot recompile other stale workflows or check for compile errors across the ecosystem.

References:

Generated by Workflow Health Manager - Meta-Orchestrator · ● 2M · ◷

  • expires on Apr 24, 2026, 12:17 PM UTC

Activity

  1. added
    cookie
    on Apr 23, 2026
  2. pelikhan commented on Apr 23, 2026

    @pelikhan
    Collaborator

    @copilot update the schema, this is a new permission

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

Metadata

Metadata

Labels

cookie

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions