chore(ci): harden delivery pipeline permissions, input validation, and configuration parity - #6
Merged
Conversation
…d configuration parity - Restrict quality-gate job permissions to contents: read, pull-requests: read (C-01) - Scope contents: write strictly to semver-release and build-and-distribute jobs - Enforce strict SemVer regex validation on workflow_dispatch milestone_version (C-02) - Harmonize tester_groups default and fallback to 'testers, dev' (C-03) - Isolate Gradle cache on PR runs with cache-read-only (C-04) - Read fallback release version dynamically from kernel.config.json (C-05) Closes #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5
📌 Summary
Branch:
chore/issue-5-ci-pipeline-hardening→mainType:
chore(ci)Related Issue: #5 chore(ci): harden delivery pipeline permissions, input validation, and configuration parity
contents: write. Restrictedquality-gateexclusively tocontents: readandpull-requests: read. Scopedcontents: writestrictly to release jobs (semver-release,build-and-distribute).milestone_versionto match regex^v[0-9]+\.[0-9]+\.[0-9]+$on manualworkflow_dispatchreleases, aborting immediately on malformed input.tester_groupsdispatch input default and fallback to"testers, dev"to achieve 100% parity withkernel.config.json:38.cache-read-only: ${{ github.event_name == 'pull_request' }}inquality-gateto prevent PR runs from corrupting or poisoning the shared build cache.kernel.config.json:project.version.📂 Affected Files
.github/workflows/delivery-pipeline.yml+28 -9✅ Quality Airbag —
./scripts/quality-check.sh./scripts/validate-docs.sh⚡ FinOps & Agent Efficiency
📸 UI Snapshots / Roborazzi Visual Diffs
N/A — Pure CI/CD delivery pipeline and workflow configuration changes. Zero UI or composable modifications.
Caution
Zero Auto-Merge — Explicit approval required.
This PR will NOT be merged until the author explicitly confirms: "Tu peux merger" or equivalent.
Persona 6 presents this PR link and stops. Merge is a deliberate human action.