{
  "id": 22488169,
  "title": "Redocly CI Pipeline Integration: Lint, Bundle, and Push",
  "url": "https://urgent.news/2026/11/29/redocly-ci-pipeline-integration-lint-bundle-and-push",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-29T01:27:23.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jeff_pdc/redocly-ci-pipeline-integration-lint-bundle-and-push-3onb"
  },
  "original_language": null,
  "account": "To integrate Redocly's CI pipeline, simply add the Redocly CLI to your existing pipeline. The CLI will lint the OpenAPI specification on every pull request using the GitHub Actions format, which provides inline annotations on the diff. This allows for fast feedback and prevents bad merges. Once the change is merged to the main branch, the CLI bundles and pushes the specification to the platform, ensuring a consistent rule set across different environments. By keeping the lint step on pull requests and the bundle and push steps on the main branch, you maintain a secure environment for pushing changes to the platform. The API key is securely stored in the CI secret store and only accessible to the main-branch push job. Finally, linting the bundled artifact ensures that any broken references or circular structures are caught before the artifact is deployed, providing an additional layer of protection for your API's behavior.",
  "summary": "Quick answer: Add Redocly CLI to the pipeline you already run. Lint the spec on every pull request with --format=github-actions so failures land on the changed lines and block the merge, then bundle and push only after the change reaches main. The same binary runs on your laptop, in CI, and in Docker, so a rule that passes locally is the rule CI applies. Why lint belongs in CI, not just on your…",
  "summary_source": "publisher",
  "key_points": [
    "Redocly CLI added to existing pipeline for CI integration",
    "GitHub Actions format provides inline annotations on pull requests",
    "CLI bundles and pushes specification to platform on main branch"
  ],
  "editors_take": "Automating these steps helps developers catch errors early and keeps the deployment process secure by restricting sensitive access to the main branch.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}