An electrical design rule check is valuable, but it runs against the board and the rules you configured. A build can pass that check and still hand off the wrong manufacturing archive. The release pipeline can catch a different class of errors by checking the files it actually ships.
1. Make design rule violations fail the build
Run the PCB tool's design rule check in CI with the project's checked-in rules. Pin the tool version or build image so a workstation update cannot silently change how the check runs. Where the tool supports severity levels, fail on errors and save the full report as a build artifact. Review any waiver with the board revision so someone can see which rule was waived and where.
The board shop's limits are inputs to those rules. If the process requires a minimum finished drill size and annular ring, verify the rule units and how the tool defines each measurement before encoding them.
2. Export and check the handoff archive
Generate the Gerbers and drill files from the same commit that passed the design check. Use a clean output directory and compare the archive contents against a list of expected layers and drill files for that board. A single-sided board and a multilayer board may require different lists. When fabrication calls for separately identified plated and nonplated holes, check for the expected separation in the export.
Consider a four-layer board with plated mounting holes changed to nonplated holes late in review. A clean design rule report says nothing about whether the upload folder contains a drill file from the prior revision. Generating the archive from a clean directory and reviewing the rendered drill layers address that problem.
3. Give the reviewer something they can inspect
Store the archive alongside a release manifest with the board revision, source commit, and export tool version. Preview the board outline, copper, and drills from the exported files in a Gerber viewer. A list of filenames catches missing files. The rendered overlay helps you spot a shifted drill layer or an incomplete outline.
Keep the pilot narrow. Start with one board, compare the CI archive against a known good release, and deliberately remove a required file from a test archive to verify that the check fails. CI should produce a consistent package for the reviewer and the board shop.