Skip to content

fix(workflows): exempt catalog automation from PR-count confirmation - #4607

Open
WOLIKIMCHENG wants to merge 2 commits into
github:mainfrom
WOLIKIMCHENG:fix/4597-gh-aw-pr-count-exemption
Open

WOLIKIMCHENG wants to merge 2 commits into
github:mainfrom
WOLIKIMCHENG:fix/4597-gh-aw-pr-count-exemption

Conversation

@WOLIKIMCHENG

@WOLIKIMCHENG WOLIKIMCHENG commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #4597.

Repository-owned gh-aw workflows for community extensions, presets, and
bundles now explicitly skip the ordinary contributor open-PR confirmation
only after successful validation and allowed catalog/docs updates. Their
checked-in locks continue to runtime-import the workflow Markdown, so no
generated-lock update is needed.

This does not change the three-open-PR policy for ordinary contributor pull
requests, and it does not modify catalog or community documentation data.

Testing

  • .venv/bin/python -m pytest -p no:cacheprovider tests/test_github_workflows.py -q — 34 passed
  • gh aw compile --no-emit --no-check-update for all three workflows — passed
  • git diff --check — passed

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (describe below)

OpenAI Codex assisted with implementation, tests, conflict resolution, and
review using gpt-5.6-terra (high), gpt-5.6-luna (medium), and gpt-5.6-sol
(xhigh) in autonomous mode. I reviewed and approved the final changes.

Clarify that repository-owned community extension, preset, and bundle
workflows bypass the ordinary contributor confirmation gate only after
successful validation and allowed catalog/docs updates.

Add regression coverage for the runtime-imported instruction, draft PR
configuration, and catalog-specific allowed files.

Fixes github#4597
@mnriem mnriem added the triage-nice-to-have Verdict: evidence-backed fix or greenlit feature — land after review label Sep 16, 2026
@mnriem
mnriem requested a balanced review from Copilot September 17, 2026 11:55

Copilot AI left a comment

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.

🟢 Approval recommended

The focused workflow changes address the reported failure and include appropriate regression coverage.

Pull request overview

Exempts repository-owned community catalog workflows from contributor PR-count confirmation while preserving validation and file restrictions.

Changes:

  • Adds exemption instructions to extension, preset, and bundle workflows.
  • Adds regression coverage for runtime imports, draft PRs, and allowed files.
File summaries
File Description
.github/workflows/add-community-extension.md Adds extension workflow exemption.
.github/workflows/add-community-preset.md Adds preset workflow exemption.
.github/workflows/add-community-bundle.md Adds bundle workflow exemption.
tests/test_github_workflows.py Verifies exemption wiring and safety constraints.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Resolve the workflow-test conflict by retaining the gh-aw v0.88.7
parameterized coverage and folding the exemption and runtime-import
assertions into the scoped community workflow contract test.

Assisted-by: OpenAI Codex (model: gpt-5.6-terra, autonomous)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage-nice-to-have Verdict: evidence-backed fix or greenlit feature — land after review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Add Community Extension from Issue Submission reported incomplete result

3 participants