Skip to content

chore: adopt org-infra reusable CI workflows (MegaLinter, PR title checks) - #101

Open
em-redhat wants to merge 1 commit into
unbound-force:mainfrom
em-redhat:opsx/adopt-org-infra-ci
Open

chore: adopt org-infra reusable CI workflows (MegaLinter, PR title checks)#101
em-redhat wants to merge 1 commit into
unbound-force:mainfrom
em-redhat:opsx/adopt-org-infra-ci

Conversation

@em-redhat

Copy link
Copy Markdown
Contributor

Summary

Adopts the complytime/org-infra reusable CI workflow for standardized
linting 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 linters check runs MegaLinter (12
org-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 Test check is unchanged.

Fixes: #25

How to Test

  1. Verify workflow file: Inspect .github/workflows/ci_checks.yml
    — confirm SHA-pinned uses: reference to complytime/org-infra
    v0.7.1, timeout-minutes: 15, least-privilege permissions.

  2. Verify MegaLinter config: Inspect .mega-linter.yml — confirm
    12 org-standard linters enabled, directory exclusions for
    .opencode, .claude, .uf, .specify, dist, vendor.

  3. Verify release preflight: Inspect .github/workflows/release.yml
    — confirm ci_checks array includes both "Build and Test" and
    "Standardized CI / Run linters".

  4. Verify branch protection: Inspect .github/settings.yml
    confirm Standardized CI / Run linters added to
    required_status_checks.contexts.

  5. CI check: Observe that the Standardized CI / Run linters
    check runs on this PR and produces MegaLinter output.

How to Demo

After merge, open any PR against main and observe two required CI
checks: the existing Build and Test and the new
Standardized CI / Run linters. Non-conventional PR titles will be
rejected 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 calling
    org-infra reusable CI (SHA-pinned v0.7.1)
  • .mega-linter.yml — New MegaLinter configuration with org-standard
    12-linter set and project-specific directory exclusions
  • .github/workflows/release.yml — Updated preflight ci_checks
    array to gate on both checks
  • .github/settings.yml — Added new required status check to branch
    protection

Documentation:

  • AGENTS.md — Documented new CI check and added Recent Changes entry

Spec Artifacts:

  • openspec/changes/adopt-org-infra-ci/ — Proposal, design, spec,
    and tasks for this change

This PR was generated by /uf.finale (AI-assisted).

…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)
@em-redhat
em-redhat requested a review from a team as a code owner September 9, 2026 12:04
@em-redhat em-redhat self-assigned this Sep 9, 2026
@em-redhat em-redhat added the enhancement New feature or request label Sep 9, 2026
@em-redhat em-redhat moved this to Ready for Review 👀 in Unbound Force Planning Sep 9, 2026
@@ -0,0 +1,35 @@
---

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems these files were not intended to be included. Could you check, please?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides this, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Ready for Review 👀

Development

Successfully merging this pull request may close these issues.

chore: adopt org-infra reusable CI workflows (MegaLinter, PR title checks)

3 participants