chore: adopt org-infra reusable CI workflows (MegaLinter, PR title checks) - #101
Open
em-redhat wants to merge 1 commit into
Open
chore: adopt org-infra reusable CI workflows (MegaLinter, PR title checks)#101em-redhat wants to merge 1 commit into
em-redhat wants to merge 1 commit into
Conversation
…ecks) - Add ci_checks.yml consuming complytime/org-infra reusable CI workflow (SHA-pinned to v0.7.1) for MegaLinter and commitlint PR title validation - Add .mega-linter.yml with org-standard 12-linter set and directory exclusions for AI agent configs and build output - Update release.yml preflight to gate on both "Build and Test" and "Standardized CI / Run linters" checks - Update settings.yml branch protection to require the new linter check - Update AGENTS.md to document the new CI check and add Recent Changes entry - Include OpenSpec change artifacts (proposal, design, spec, tasks) - Include Dewey learnings from prior sessions Fixes: unbound-force#25 Assisted-by: claude-opus Generated with AI assistance (claude-opus)
| @@ -0,0 +1,35 @@ | |||
| --- | |||
Contributor
There was a problem hiding this comment.
It seems these files were not intended to be included. Could you check, please?
Contributor
There was a problem hiding this comment.
Besides this, LGTM
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.
Summary
Adopts the
complytime/org-infrareusable CI workflow for standardizedlinting and PR title validation, addressing issue #25. This brings
replicator in line with the org-wide CI standard already adopted by
other repos (unbound-force, dewey).
The new
Standardized CI / Run linterscheck runs MegaLinter (12org-standard linters including actionlint, shellcheck, golangci-lint,
markdownlint, yamllint, and security scanners) and validates PR titles
against Conventional Commits format via commitlint. The existing
Build and Testcheck is unchanged.Fixes: #25
How to Test
Verify workflow file: Inspect
.github/workflows/ci_checks.yml— confirm SHA-pinned
uses:reference tocomplytime/org-infrav0.7.1,
timeout-minutes: 15, least-privilege permissions.Verify MegaLinter config: Inspect
.mega-linter.yml— confirm12 org-standard linters enabled, directory exclusions for
.opencode,.claude,.uf,.specify,dist,vendor.Verify release preflight: Inspect
.github/workflows/release.yml— confirm
ci_checksarray includes both"Build and Test"and"Standardized CI / Run linters".Verify branch protection: Inspect
.github/settings.yml—confirm
Standardized CI / Run lintersadded torequired_status_checks.contexts.CI check: Observe that the
Standardized CI / Run linterscheck runs on this PR and produces MegaLinter output.
How to Demo
After merge, open any PR against
mainand observe two required CIchecks: the existing
Build and Testand the newStandardized CI / Run linters. Non-conventional PR titles will berejected by commitlint. MegaLinter will scan changed files for lint
issues across GitHub Actions, shell, Go, Markdown, YAML, and security.
Key Files Changed
CI/CD Configuration:
.github/workflows/ci_checks.yml— New consumer workflow callingorg-infra reusable CI (SHA-pinned v0.7.1)
.mega-linter.yml— New MegaLinter configuration with org-standard12-linter set and project-specific directory exclusions
.github/workflows/release.yml— Updated preflightci_checksarray to gate on both checks
.github/settings.yml— Added new required status check to branchprotection
Documentation:
AGENTS.md— Documented new CI check and added Recent Changes entrySpec Artifacts:
openspec/changes/adopt-org-infra-ci/— Proposal, design, spec,and tasks for this change
This PR was generated by /uf.finale (AI-assisted).