Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Redocly CI Pipeline Integration: Lint, Bundle, and Push

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…

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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Track Refunds in Google Sheets with Make (No Code)

Learn how to track refunds in google sheets so no refund is ever lost in an email thread. A webhook catches every refund notification the moment it arrives, Make logs it in Google Sheets with a status…

  • Refunds tracked in Google Sheets without coding
  • Webhook captures refund notifications instantly
  • Status updates and running total for refunded rows

How we sandbox HTML5 game builds on a browser game platform with two CSP headers

WEBQ3 Gaming hosts free browser games, including our own arena fighter Power Surge: Planet Breakers and builds from independent creators. Every game runs in the page with no download and no account.

  • WEBQ3 Gaming uses two CSP headers to sandbox HTML5 game builds.
  • First CSP header on game page allows embedding from build host.
  • Second CSP header on build host restricts origin to WEBQ3 Gaming's site.

More from Sunday, 29 November 2026 →