How-to

The GitHub check and the no-requirement label

Every pull request cites existing, non-retired codes; trivial changes carry a label instead.

For: Team developer, Project lead

What it checks

  • Fails without any record or work item code, with an unknown code, or with a Retired record.
  • Warns on Draft or Approved records.
  • Skips pull requests labelled no-requirement.

The PR check

  • A second job sends the files the pull request changes; Corpole needs no GitHub credentials for this.
  • Fails when ungoverned code is changed under the enforced onboarding gate; warns under the advisory one.
  • Warns about a module whose findings are still under review, files outside the modules of the cited work, other open pull requests changing the same files, and a pull request during an emergency that does not cite the emergency defect.

Set it up

Run /corpole:init with the GitHub option, and add the repository secret CORPOLE_TOKEN with a service token.

KB-TQ-04