Scope PR review workflows with path-based trigger filters to reduce redundant API load#46900
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
🤖 PR Triage
Score breakdown: impact 8 + urgency 6 + quality 8 WIP PR adding path filters to PR-triggered review workflows. Draft, no CI. Low impact optimization — defer until WIP is complete.
|
There was a problem hiding this comment.
Pull request overview
Narrows automated PR-review triggers to reduce unnecessary API usage while preserving manual invocation.
Changes:
- Ignores documentation and metadata-only changes for three reviewers.
- Restricts the ADR gate to selected implementation paths.
- Recompiles generated workflows.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/pr-code-quality-reviewer.md |
Adds ignored paths. |
.github/workflows/pr-code-quality-reviewer.lock.yml |
Updates compiled trigger. |
.github/workflows/mattpocock-skills-reviewer.md |
Adds ignored paths. |
.github/workflows/mattpocock-skills-reviewer.lock.yml |
Updates compiled trigger. |
.github/workflows/impeccable-skills-reviewer.md |
Adds ignored paths. |
.github/workflows/impeccable-skills-reviewer.lock.yml |
Updates compiled trigger. |
.github/workflows/design-decision-gate.md |
Adds implementation-path filtering. |
.github/workflows/design-decision-gate.lock.yml |
Updates compiled trigger. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 8/8 changed files
- Comments generated: 1
- Review effort level: Medium
|
@copilot please run the Run: https://github.com/github/gh-aw/actions/runs/29777731070 Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "pi.dev"See Network Configuration for more information.
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Expanded the |
|
@copilot please run the Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "pi.dev"See Network Configuration for more information.
|
Review thread addressed (replied to the |
|
@copilot please run the Unresolved review threads to close out: Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "pi.dev"See Network Configuration for more information.
|
The review thread at #discussion_r3617231271 has been replied to with the code fix (571bac0), but the agent cannot call the |
|
@copilot please run the Unresolved review threads to close out:
Run: https://github.com/github/gh-aw/actions/runs/29788028039 Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "pi.dev"See Network Configuration for more information.
|
The unresolved thread at |
|
@copilot please run the Run: https://github.com/github/gh-aw/actions/runs/29789600762 Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "pi.dev"See Network Configuration for more information.
|
Nothing remaining to action. All review threads are resolved, prior CI checks completed with |
🔍 PR Triage — Run §29791496271
Rationale: Path-based trigger scoping for PR reviewer workflows. Non-urgent optimization. Low risk, review in a batch with similar chore PRs.
|
|
@copilot please run the Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "pi.dev"See Network Configuration for more information.
|
PR is ready to merge. Here's the state:
Next maintainer action: Re-trigger CI by closing and reopening the PR (or via |
|
🎉 This pull request is included in a new release. Release: |
PR-triggered reviewer workflows were over-firing on non-implementation changes and driving disproportionate REST API usage. This narrows trigger scope so reviewers run when code/design-relevant files change, while preserving explicit/manual invocation paths.
Trigger scoping for PR reviewers
pull_request.paths-ignoreto:mattpocock-skills-reviewer.mdimpeccable-skills-reviewer.mdpr-code-quality-reviewer.md*.md,docs/**,.changeset/**,socials/**,scratchpad/**) to avoid no-op reviews.Design Decision Gate scoping
pull_request.pathstodesign-decision-gate.mdso enforcement runs on implementation-relevant areas:actions/**,cmd/**,internal/**,pkg/**,docs/adr/**,.design-gate.ymlCompiled workflow parity
.lock.ymlfiles so runtime behavior matches source workflow definitions.Run: https://github.com/github/gh-aw/actions/runs/29781538011
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
pi.devSee Network Configuration for more information.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
pi.devSee Network Configuration for more information.
branch update requested from https://github.com/github/gh-aw/actions/runs/29788028039
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
pi.devSee Network Configuration for more information.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
pi.devSee Network Configuration for more information.