Skip to content

Add CI workflows, security scans, dependabot, and scorecard#6

Open
pdettori wants to merge 1 commit intoorchestrate/testsfrom
orchestrate/ci
Open

Add CI workflows, security scans, dependabot, and scorecard#6
pdettori wants to merge 1 commit intoorchestrate/testsfrom
orchestrate/ci

Conversation

@pdettori
Copy link
Contributor

Summary

  • ci.yml — Lint (ruff + pre-commit) and test (pytest) on PR and push to main. Python 3.11, uv for dependency install.
  • security-scans.yml — Parallel jobs for dependency review, Trivy filesystem scan (CRITICAL+HIGH, SARIF upload), CodeQL with security-extended queries, and action SHA-pinning check.
  • scorecard.yml — OpenSSF Scorecard on push to main + weekly Monday schedule. Publishes results to GitHub Security tab.
  • stale.yml — Stale issue/PR management via kagenti/.github org reusable workflow.
  • dependabot.yml — Automated dependency updates for github-actions and pip (appworld_a2a_runner) ecosystems.

All GitHub Actions are SHA-pinned per supply chain security best practice. Permissions follow least-privilege (explicit per-job).

Depends on #5 (tests) → #4 (pre-commit).

Test plan

  • Verify ci.yml triggers on PR to main and runs lint + test
  • Verify security-scans.yml triggers on PR to main
  • Verify scorecard.yml runs on push to main
  • Verify dependabot opens PRs for outdated dependencies
  • Confirm all actions are SHA-pinned (action-pinning job passes)

🤖 Generated with Claude Code

Add comprehensive GitHub Actions CI pipeline:
- ci.yml: lint (ruff + pre-commit) and test (pytest) on PR and push to main
- security-scans.yml: dependency review, Trivy filesystem scan, CodeQL
  (Python), and action pinning check
- scorecard.yml: OpenSSF Scorecard on push to main + weekly schedule
- stale.yml: stale issue/PR management via kagenti org reusable workflow
- dependabot.yml: automated updates for github-actions and pip ecosystems

All actions are SHA-pinned per supply chain security best practice.

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant