shuke987 opened a new pull request, #71303: URL: https://github.com/apache/doris/pull/71303
### Background Master PRs currently allocate separate runners for Code Style, Gitleaks and license headers. Each runner queues and checks out Doris. License Check also builds the Go tool for each run. ### What problem does this PR solve? Issue Number: None Related PR: #71294, #71301 PR Type: Build/CI/Chore Problem Summary: Run all three checks on one Ubuntu runner with one Doris checkout. This removes two runner allocations per master PR. The required Code Style check reports failures from either scanner as well as the selected Java and C++ checks. ### Details - **Change map:** Three files define the shared scanners. Three workflows select and run the checks. Two lines in the master ruleset retire the individual required contexts. - **Affected:** Pull requests targeting master. Other targets keep the standalone job names. - **Developer and release impact:** Contributors see the scan results as Code Style steps and can download the redacted Gitleaks report. The existing large-file warning remains advisory. No release-branch backports are needed. - **License and third-party:** Gitleaks remains pinned to 8.30.0. The job verifies the official Apache SkyWalking Eyes 0.8.0 binary distribution against its SHA-512 on every use, including cache hits. - **Rollback:** Revert this change to reinstate the two independent master jobs and their required contexts. - **CI permissions and secrets:** The jobs retain read-only contents and pull-request permissions. Checkout credentials are not persisted. - **Behavior change:** The secret scan reads non-merge commits in the event's base-to-head range. License Eye checks changed paths with the repository's ignore rules. Changes to its config or an incomplete file list trigger a full scan. Either scanner can fail while the remaining checks still run. Skipped standalone jobs on master cover the interval before the ruleset update takes effect. ### Testing Actionlint passed on all three changed workflows. Real Gitleaks fixtures passed on a clean PR and detected a redacted finding in an intermediate commit that was later removed. The real License Eye binary passed a valid header and ignored paths, rejected a missing header and found it during full-config fallback. Also checked deleted files, renamed configuration, a 300-file compare, a moved PR head, incomplete pagination and the 3,000-file API limit. Verified the Linux release archive checksum and executable extraction. All 22 resolver and checkout unit tests, 13 style-selection cases and both 3,002-file comparisons passed. ### Release note None. ### Check List (For Author) - Behavior changed: Yes (see Details). - Does this need documentation: No. - Pre-submission status: Partially verified. GitHub-hosted execution and queue measurements are pending. ### AI Disclosure - Tool: OpenAI Codex. - Generated: Implementation, validation fixtures and PR description. - Human review: Pending. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
