Repository navigation
docs: add CircleCI CI example and documentation - #204
Conversation
|
Thanks for this, and welcome! The example follows
Three things before we merge:
CI hasn't run yet because this is your first PR here. A maintainer will approve the workflow run. |
store_artifacts documents only path and destination, and it already runs after a failed step. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merged, thank you, and congratulations on your first contribution to secfoo! 🎉 To get it in today, I pushed one small change to your branch (a84b8ef). It drops #174 stays open for its last step, a real run. If you get the chance to run the example once on the CircleCI free plan, please post the run link, or a screenshot of the Artifacts tab showing |
Adds
examples/ci/circleci-config.yml(cimg/python:3.12,pip install secfoo,secfoo run --agent api ... --fail-on high --max-cost 2.00, SARIF and JSONL export,store_artifacts, which runs even when a gate fails) and a## CircleCIsection indocs/CI.mdafter GitLab CI. The section covers settingOPENAI_API_KEYas a project environment variable or in a context, and what exit codes 0-3 mean. CircleCI is removed from the generic 'Anything else' heading since it now has its own section.Testing: docs and example only, no code changes.
Part of #174 (the issue stays open until a successful CircleCI run is linked).