GitHub Actions

Use the composite action when running on GitHub-hosted Linux, macOS, or Windows runners. The default module set is env,php,node,laravel,composer,git,docker; DevDoctor adds ecosystem modules such as frontend, flutter, mobile, monorepo, python, ruby, go, rust, java, iac, kube, dotnet, cpp, web, and symfony automatically when matching presets are detected.

Policy profiles

Pick local, CI, strict CI, or security defaults.

devdoctor ci --profile=local is warning-tolerant for local rollout, --profile=ci keeps the default CI set, --profile=strict-ci enables strict checks and security diagnostics, and --profile=security narrows the run to security-oriented modules.

localwarnings ok
cidefault
strictsecurity
php devdoctor ci --profile=local
php devdoctor ci --profile=ci
php devdoctor ci --profile=strict-ci
php devdoctor ci --profile=security
name: DevDoctor

on:
  push:
  pull_request:

jobs:
  devdoctor:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@v6
      - uses: rtcoder/devdoctor@v1.41.1
        with:
          version: v1.41.1

Full example: docs/examples/github-actions.yml.

GitLab CI

devdoctor:
  image: php:8.5-cli
  script:
    - php devdoctor ci --format=json

Full example: docs/examples/gitlab-ci.yml.

Bitbucket Pipelines

pipelines:
  default:
    - step:
        image: php:8.5-cli
        script:
          - php devdoctor ci --format=json

Full example: docs/examples/bitbucket-pipelines.yml.