ci: add weekly antigravity code audit workflow - #2133
Merged
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
…kill instructions
…n in ChatOps workflow
# Conflicts: # .github/workflows/python_ci.yml
josemontespg
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR replaces the legacy Cloud Run compliance audit implementation with automated GitHub Actions workflows for scheduled weekly codebase audits and interactive ChatOps-driven remediation.
Changes
.github/workflows/weekly-audit.yml,.github/scripts/run_weekly_audit.py):workflow_dispatch).run_weekly_audit.pyto trigger the remote Antigravity Agent API (a2ui-auditskill) againsta2ui-project/a2ui..github/workflows/remediate_chatops.yml,.github/scripts/run_remediation.py):/remediateonA2UI Compliance Reportissues.run_remediation.py.a2ui-auditskill using the remediation playbook to automatically generate a draft pull request addressing the reported issue..agents/skills/a2ui-audit/references/remediate-problem.md,.agents/skills/a2ui-audit/scripts/create_compliance_report.py):remediate-problem.mdto guide the remediation agent through branch creation, code fixes, and draft pull request submission.create_compliance_report.pyto format compliance audit findings into standard markdown reports.blueprints/skills/a2ui-blueprint-compliance/SKILL.mdto reference the permanent repository script path.zizmorsecurity audits.pyinkand YAML configuration with Prettier.Impact & Risks
Testing
.github/scripts/tests/test_run_weekly_audit.py: Tests environment validation, mock SDK polling loops, and report extraction..github/scripts/tests/test_run_remediation.py: Tests ChatOps comment parsing, permission checks, and draft pull request creation..agents/skills/a2ui-audit/scripts/test_create_compliance_report.py: Tests markdown formatting for compliance reports..github/scripts/**path triggers into.github/workflows/python_ci.ymlso script unit tests run on pull request presubmit.python3 -m unittest discover -s .github/scripts/testsandpython3 -m unittest discover -s .agents/skills/a2ui-audit/scripts.pyink --check .and YAML formatting with Prettier.weekly-audit.ymlandremediate_chatops.ymlpasszizmorsecurity checks.