Skip to content

CI example: Bitbucket Pipelines (examples/ci + docs/CI.md) #172

Done

Description

@vsn411

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

Build:

  1. Add examples/ci/bitbucket-pipelines.yml, modelled on examples/ci/gitlab-ci.yml: a python:3.12-slim image, pip install secfoo, secfoo run --agent api ... --fail-on high --max-cost 2.00, SARIF and JSONL export, and the artifacts kept. Use a pull-request pipeline plus the default branch.
  2. Add a ## Bitbucket Pipelines section to docs/CI.md after GitLab CI: where to set the secured OPENAI_API_KEY variable, and what the exit codes mean.
  3. Run it once on a free Bitbucket workspace 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. added a commit that references this issue on Nov 26, 2026
    8c8930e
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