Skip to content

enhancement: Automate remediation of recurring compliance-audit findings #35

@don-petry

Description

@don-petry

Summary

There are 42+ open compliance-audit issues across the org, with recurring patterns that could be automated instead of manually resolved.

Recurring Patterns

Finding Repos Affected
Missing CODEOWNERS google-app-scripts, ContentTwin, broodly, markets, TalkTerm
Missing code-quality config google-app-scripts, ContentTwin, broodly, markets, TalkTerm
Missing security/dependencies labels All repos
Wiki enabled (policy says disable) All except ContentTwin
Discussions not enabled (or enabled when shouldn't be) Multiple
Unpinned actions broodly, markets, TalkTerm
Missing CI/CodeQL workflows ContentTwin, TalkTerm, google-app-scripts

Recommended Actions

  1. Create a remediation workflow that can auto-fix common findings:
    • Generate CODEOWNERS from repo admin/contributor data
    • Create missing labels via gh label create
    • Disable wikis via API where policy requires it
    • Pin action versions to SHAs using pin-github-action tool
  2. Add the remediation as a phase in the compliance audit workflow (audit → report → auto-fix → PR)
  3. Prioritize fixes that unblock other automation (e.g., missing labels block Dependabot auto-merge labeling)

Context

Identified during weekly org CI/Security survey on 2026-04-05. The compliance audit workflow creates issues but doesn't remediate — closing the loop would dramatically reduce toil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationAutomation improvements and gapsclaudeFor Claude agent pickupenhancementFeature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions