Skip to content

CI example: CircleCI (examples/ci + docs/CI.md) #174

Open

Description

@vsn411

Problem: docs/CI.md has copy-paste setups for GitHub Actions, GitLab and pre-commit. CircleCI users only get the generic "Anything else" snippet (#110).

Build:

  1. Add examples/ci/circleci-config.yml, modelled on examples/ci/gitlab-ci.yml: a cimg/python:3.12 image, pip install secfoo, secfoo run --agent api ... --fail-on high --max-cost 2.00, SARIF and JSONL export, and the artifacts kept. Use store_artifacts for the outputs.
  2. Add a ## CircleCI section to docs/CI.md after GitLab CI: where to set the OPENAI_API_KEY in a project environment variable or a context, and what the exit codes mean.
  3. Run it once on the CircleCI free plan against any small public repo. --depth quick --max-cost 0.50 keeps the cost to a few cents.

Done when: the example and the docs section are merged, and the PR links to the successful pipeline run or attaches a screenshot of it showing the uploaded secfoo.sarif.

Part of #110.

Activity

  1. added
    documentation
    good first issue
    help wanted
    hackathon
    difficulty: low
    on Nov 20, 2026
  2. deba310984 commented on Nov 27, 2026

    @deba310984
    Contributor

    I've opened #204 to address this. Happy to adjust anything based on your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: lowdocumentationgood first issuehackathonhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions