Skip to content

CI example: Azure Pipelines (examples/ci + docs/CI.md) #173

Done

Description

@vsn411

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

Build:

  1. Add examples/ci/azure-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. Trigger on PRs and the default branch, and publish the files with PublishPipelineArtifact.
  2. Add a ## Azure Pipelines section to docs/CI.md after GitLab CI: where to set the secret OPENAI_API_KEY pipeline variable (and map it into env:, since Azure doesn't expose secrets automatically), and what the exit codes mean.
  3. Run it once on a free Azure DevOps organization 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. niharika3715 commented on Nov 26, 2026

    @niharika3715
    Contributor

    linked a pr that will resolve this issue: #200

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