Skip to content

docs: learnings-only CI skip and required-checks swap (ci-skip-learnings-only-prs) #1201

Backlog

Description

@jflowers

Documentation follow-up for the ci-skip-learnings-only-prs change
(originating issue #1194, openspec/changes/ci-skip-learnings-only-prs/).

Filed before the implementing PR merges, per the Documentation
gate: the change is CI-only but alters user-visible merge
governance, so the governance change must be traceable end to
end alongside the CHANGELOG entry.

What changed

  • PRs whose changed files are all regular .md files under
    .uf/dewey/learnings/ skip the build, test, and lint jobs
    (ci_local.yml: build-and-test, plugin-tests,
    council-review-action-tests; ci_checks.yml:
    call_reusable_ci). A new changes job detects this per pull
    request; every other PR — mixed learnings+code, renames into
    or out of the prefix, non-Markdown or non-regular files
    (e.g. symlinks), indeterminate diff — runs the full CI,
    fail-safe. Push events on main are unchanged.
  • Two always-running aggregate jobs now report a verdict for
    every PR: CI OK (ci_local.yml) and Standardized CI OK
    (ci_checks.yml), each failing when any gated job concluded
    anything other than success or skipped.
  • After the workflow change merges, the repository ruleset
    ("safe-settings: unbound-force required checks", id
    26774064) swaps its required checks from Build and Test,
    Plugin Tests, and Standardized CI / Run linters to
    CI OK and Standardized CI OK.

Documentation to update

  • AGENTS.md CI Workflow Structure table: the changes job
    and the aggregate required checks.
  • Contributor-facing docs: the learnings-only skip rule, its
    fail-safe direction, and what a learnings PR's checks look
    like (aggregates green in minutes; security, dependency,
    and CRAP scans still run).
  • Branch-protection documentation: the new required-check
    names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions