Skip to content

Unblock required-workflow source repository PRs without weakening organization gates #732

Description

@seonghobae

Incident

The organization ruleset requires the OpenCode and Noema workflows sourced from ContextualWisdomLab/.github, and the ruleset also targets the .github repository's own default branch. A central bootstrap repair therefore cannot currently satisfy the two workflow contexts sourced from the same repository.

Exact example: PR #731, head c73ee47861fca21e6959ce80fdf57b434c715c9d.

  • all eight repository-owned exact-head workflows have successful runs on the unchanged head: CodeQL, Semgrep, Security Scan, Python Security, OSV, Scorecard, Secret Scan, and SBOM;
  • auto-merge is enabled;
  • direct guarded merge reports: 2 of 15 required status checks are expected and New changes require approval from someone other than the last pusher;
  • no OpenCode or Noema review/check was published after a fresh ready-for-review PR was opened on the exact head;
  • comments requesting both reviewer Apps produced no review because their execution is workflow-driven.

GitHub's documented source-repository boundary

GitHub's ruleset troubleshooting documentation calls out required-workflow source repositories explicitly. For workflows intended to run through a ruleset, GitHub recommends choosing a deliberate source-repository configuration, such as adding an unconditional job condition, disabling the local workflow in the source repository, or disabling Actions there. It also recommends Evaluate mode or an authorized bypass for bootstrap situations where the required workflow cannot run.

Primary documentation:

Required administrative decision

Choose and implement one fail-closed pattern for the .github source repository:

  1. exclude only ContextualWisdomLab/.github from the organization required-workflow targets while keeping its direct CodeQL/Semgrep/Security/Python/OSV/Scorecard/Secret/SBOM checks plus independent review rules; or
  2. put the required-workflow rules in Evaluate mode long enough to merge the validated bootstrap repair, then return them to Active after proving they execute; or
  3. configure the source repository/local workflow behavior according to GitHub's supported-directory guidance so the same OpenCode/Noema contexts are actually emitted for .github PRs.

Do not synthesize statuses, remove independent review, or weaken the organization rules for target application repositories.

Acceptance evidence

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions