> ## Documentation Index
> Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Semgrep in CI

> [card] [Semgrep with self-hosted Ubuntu runners in Azure Pipelines](https://docs.semgrep.dev/kb/semgrep-ci/azure-self-hosted-ubuntu.md)
>
> Run Semgrep on self-hosted Ubuntu runners in Azure DevOps.

> [card] [Running Semgrep using templates in Azure Pipelines](https://docs.semgrep.dev/kb/semgrep-ci/azure-using-templates-with-semgrep.md)
>
> Running Semgrep commands in Azure Pipelines templates.

> [card] [Run Semgrep in Jenkins when using Bitbucket as the source code manager](https://docs.semgrep.dev/kb/semgrep-ci/bitbucket-jenkins.md)
>
> Scan code hosted in Bitbucket using Jenkins projects or pipelines.

> [card] [Semgrep in CI vs CLI: align your SAST scan results and understand differences](https://docs.semgrep.dev/kb/semgrep-ci/ci-vs-cli.md)
>
> Align scan results between CI and CLI and understand differences in behavior.

> [card] [Collecting Semgrep GitHub Actions logs from GitHub](https://docs.semgrep.dev/kb/semgrep-ci/collect-gha-logs.md)
>
> Collect logs from GitHub Actions to troubleshoot Semgrep CI scans.

> [card] [GitLab "Job's log exceeded limit" error](https://docs.semgrep.dev/kb/semgrep-ci/collect-gitlab-logs.md)
>
> Collect verbose logs from GitLab to troubleshoot Semgrep CI scans.

> [card] [Failed to run a git command during a pull request or merge request scan](https://docs.semgrep.dev/kb/semgrep-ci/git-command-errors.md)
>
> Troubleshoot git command failures that occur during PR and MR scans.

> [card] [Use GitHub repository rulesets to implement Semgrep](https://docs.semgrep.dev/kb/semgrep-ci/github-repository-rulesets-semgrep.md)
>
> Set up GitHub repository rulesets to implement Semgrep across repositories.

> [card] [Set up reusable GitHub workflows for Semgrep scans](https://docs.semgrep.dev/kb/semgrep-ci/github-reusable-workflows-semgrep.md)
>
> Learn how to set up reusable GitHub workflows for Semgrep scans.

> [card] [Why aren't findings populating in the GitHub Advanced Security Dashboard after running Semgrep in CI?](https://docs.semgrep.dev/kb/semgrep-ci/github-upload-findings-in-security-dashboard.md)
>
> Prevent the "resource not accessible by integration" error when uploading findings.

> [card] [Scan with GitHub and Jenkins](https://docs.semgrep.dev/kb/semgrep-ci/jenkins-diff-scans.md)
>
> Set up full and diff-aware scans in Jenkins Multibranch Pipeline projects.

> [card] [Receive Semgrep MR comments through a GitLab runner](https://docs.semgrep.dev/kb/semgrep-ci/mr-comments-through-gitlab-runner.md)
>
> Set additional environment variables to receive Semgrep MR comments.

> [card] [Why are there new source code manager (SCM) connections that I didn't manually configure listed in Semgrep AppSec Platform?](https://docs.semgrep.dev/kb/semgrep-ci/new-scm-connections.md)
>
> Learn why new SCM connections can appear in Semgrep AppSec Platform.

> [card] [Does Semgrep scan compressed files or other non-code files?](https://docs.semgrep.dev/kb/semgrep-ci/scan-compressed-files-artifacts.md)
>
> Review options to scan compressed files and other artifacts with Semgrep.

> [card] [Scanning a monorepo in parts](https://docs.semgrep.dev/kb/semgrep-ci/scan-monorepo-in-parts.md)
>
> Scan a monorepo in parts for better CI performance and clearer findings.

> [card] [Add Semgrep to your Semaphore pipeline](https://docs.semgrep.dev/kb/semgrep-ci/semaphore-pipelines.md)
>
> Learn how to add Semgrep to your Semaphore pipeline.

> [card] [How to trigger diff-aware scans](https://docs.semgrep.dev/kb/semgrep-ci/trigger-diff-scans-env-var.md)
>
> Learn how to run a diff-aware scan.

> [card] [Upload Semgrep CI findings to GitHub Advanced Security Dashboard](https://docs.semgrep.dev/kb/semgrep-ci/upload-ci-findings-to-github.md)
>
> Upload Semgrep findings to the GitHub Advanced Security Dashboard.

> [card] [Upload Semgrep CI findings to GitLab Security Dashboard](https://docs.semgrep.dev/kb/semgrep-ci/upload-ci-findings-to-gitlab.md)
>
> Upload Semgrep findings to the GitLab Security Dashboard.

> [card] [Configure GitHub Actions to use the nonroot Semgrep docker image](https://docs.semgrep.dev/kb/semgrep-ci/using-nonroot-docker-image-with-gha.md)
>
> Configure GitHub Actions workflows to use the `nonroot` Semgrep Docker image.

> [card] [Why are duplicate findings appearing after running Semgrep in CI?](https://docs.semgrep.dev/kb/semgrep-ci/why-duplicate-findings.md)
>
> Prevent duplicate findings by running full scans only on the main branch.
