Skip to content

About

No description, website, or topics provided.

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

ai-common-workflows

Status: Under active development. Interfaces and behavior may change without notice.

Reusable, AI-assisted CI/CD workflows you can drop into any pipeline. This repo is a collection of independent workflows that share a small set of conventions — pin to a commit SHA, run least-privilege, keep each concern in its own self-contained engine — so teams can adopt them one at a time.

Workflows in this repo

Workflow What it does Docs
AI security & compliance review Security & compliance review of a pull request: inline comments for secrets, PII/PHI, OWASP Top 10, and IaC misconfigurations. Compliance checks start from a framework-neutral floor (profile: base); selectable profiles layer a specific framework on top (base,cms-ars-5.1) — CMS ARS 5.1 / NIST SP 800-53 out of the box, or bring your own. docs/security-compliance-review.md
AI test classifier Triage of failing tests on a pull request: classifies each failure as APPLICATION_BUG / TEST_BUG / FLAKY_FAILURE / ENVIRONMENT_ISSUE — is the test wrong or the code wrong? — and posts one advisory comment with a 👍/👎 feedback ask. Diagnostic only; never edits code or tests. docs/test-classifier.md

Also here

What it does Docs
Codebase audit Audits an existing repo — or one directory — for the same security & compliance issues, instead of reviewing a change. Local and ad-hoc: run it from the repo you want to audit, nothing is installed there, it never posts and never gates. Same rubric and severities as the review above, so findings are comparable. Run it on your laptop
Copilot review instructions Makes GitHub Copilot's own PR review apply the same security & compliance checks as the review above, with no LLM keys of your own. The alternative to the action, for teams that cannot get model credentials — same checks, no keys, no runner. Run one or the other, not both: they judge the same way, so both means duplicate comments and two bills. Copilot's native review cannot block a merge, cannot be tuned per program, and runs on GitHub's models rather than one you pin. Setup in five steps · side by side

More workflows will land here over time. Each one is meant to stand alone — you adopt only the ones you need. Adding a workflow? See the conventions in docs/adding-workflows.md.


Security & supply chain

These components execute code in your CI with your repository and credentials in scope. Before adopting, three things are imperative:

  • Least privilege. Scope the SCM token to contents: read + pull-requests: write (Action) or a fine-grained PAT / GitHub App (Jenkins); scope Bedrock/Vertex/Azure to invoking the one model or deployment. Details in docs/security.md.
  • Review the engine — it is deliberately small and readable (~2k lines of bash plus two short Python files, and the rubric markdown it inlines) — and pin to a commit SHA, not a mutable tag.
  • Control egress at the runner/infrastructure layer. The engine runs natively and enforces no network boundary of its own.

Full trust model and checklist in docs/security.md.

License

Apache-2.0.

About

No description, website, or topics provided.

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages