Skip to content

governance: codeql.yml lacks SPDX header and top-level permissions (Workflow security linter red) #53

Open

Description

@hyperpolymath

governance / Workflow security linter is red on main (1d0fb8b3) and on #51:

ERROR: .github/workflows/codeql.yml missing SPDX header
ERROR: .github/workflows/codeql.yml missing top-level 'permissions:' declaration

codeql.yml is the unmodified GitHub starter file. #51 does not touch any workflow.

Acceptance criteria

  • codeql.yml carries the SPDX header and a top-level permissions: map (least privilege, with security-events: write at job level where the upload needs it).
  • governance / Workflow security linter is green on main.
  • The edit follows AGENTS.md §2a for YAML: convert to KYAML only once this repo's gates read KYAML (governance pin at or after 13b872c1, and no grep "^permissions:"-style linter). Note that the failing linter is exactly such a regex, so it must be fixed or the file kept in block YAML.

Deferred from #51 per AGENTS.md §5c item 3.

Activity

  1. added
    choreRoutine maintenance with no behaviour change
    cicdCI/CD: workflows, actions, lockfiles, pins, runners, release gates
    governancePolicy, rulesets, standards, compliance, and their enforcement
    licensingLicences, SPDX headers, REUSE compliance, attribution
    on Oct 8, 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

    choreRoutine maintenance with no behaviour changecicdCI/CD: workflows, actions, lockfiles, pins, runners, release gatesgovernancePolicy, rulesets, standards, compliance, and their enforcementlicensingLicences, SPDX headers, REUSE compliance, attribution

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions