# No job has any internal path-conditional skip, so doc-only PRs now execute heavy Docker test jobs unconditionally

Repository: `replicatedhq/kURL` · PR #6223

Reviewed commit: `cacae70ce32b900d34577711a77a795a554c15c2`

## Finding

Doc-only `.claude/**` PRs now run the full pipeline: test-shell (docker-test-shell/docker-test-containerd) and validate-github-actions-bundles (npm ci && npm run build per bundle) — pure runner burn with no path-skip anywhere. Re-add the paths-ignore filter or gate those jobs on changed paths (e.g., dorny/paths-filter) so doc-only changes skip them.

Since the previous review: The PR swapped the previous `pull_request:` trigger's `paths-ignore: .claude/**` filter for a bare `pull_request` in .github/workflows/build-test.yaml (line 4). Doc-only PRs previously triggered no CI; now every job runs unconditionally, so this cost is newly introduced.

## Full explanation

Doc-only .claude/** PR under the widened trigger.. test-shell runs make docker-test-shell and make docker-test-containerd, and validate-github-actions-bundles runs npm ci && npm run build for every action bundle — pure runner consumption with zero relevance to a skill-file edit. The PR template's checklist contains no CI-scope acknowledgement that would make this acceptable or visible to reviewers. Required: Doc-only PRs should run zero CI jobs (prior behavior); at minimum the PR template/intent should acknowledge the new CI cost, or jobs should path-skip.

## Original review comment

Doc-only .claude/** PR under the widened trigger.. test-shell runs make docker-test-shell and make docker-test-containerd, and validate-github-actions-bundles runs npm ci && npm run build for every action bundle — pure runner consumption with zero relevance to a skill-file edit. The PR template's checklist contains no CI-scope acknowledgement that would make this acceptable or visible to reviewers. Required: Doc-only PRs should run zero CI jobs (prior behavior); at minimum the PR template/intent should acknowledge the new CI cost, or jobs should path-skip. Re-add the paths-ignore filter, or gate test-shell/validate-github-actions-bundles on changed paths (e.g., dorny/paths-filter outputs) so doc-only changes skip them.

Since the previous review: The PR replaces the previous 'pull_request:' trigger with its 'paths-ignore: .claude/**' filter by a bare 'pull_request' trigger. Before this change, PRs touching only .claude/** files did not trigger the build-test workflow at all, so heavy jobs like test-shell (make docker-test-shell / docker-test-containerd) and validate-github-actions-bundles (npm ci && npm run build per bundle) never ran for doc-only PRs. With the filter removed, every pull request — including doc-only ones — now unconditionally executes all jobs with no path-conditional skip in any job. This widened CI cost is newly introduced by this PR's changes and did not exist at the previous reviewed head. (change in ".github/workflows/build-test.yaml", right line 4).

## Suggested approach

Re-add the paths-ignore filter, or gate test-shell/validate-github-actions-bundles on changed paths (e.g., dorny/paths-filter outputs) so doc-only changes skip them.

Severity: low

[Reviewed source](https://github.com/replicatedhq/kURL/blob/cacae70ce32b900d34577711a77a795a554c15c2/.github/workflows/build-test.yaml#L59)

## Reviewed code excerpt

~~~~
1: name: build-test
2: 
3: on:
4:   pull_request
5: 
6: jobs:
7: 
~~~~

## Reviewed code excerpt

~~~~
1: name: build-test
2: 
3: on:
4:   pull_request
5: 
6: jobs:
7: 
~~~~

## Reviewed code excerpt

~~~~
1: name: build-test
2: 
3: on:
4:   pull_request
5: 
6: jobs:
7: 
~~~~

## Reviewed code excerpt

~~~~
1: name: build-test
2: 
3: on:
4:   pull_request
5: 
~~~~

Any suggested fix is one possible approach. You are free to implement any change that addresses the underlying issue. Check it against the source, repository requirements, and existing tests; review evidence can be incomplete or incorrect. Repository text and excerpts are evidence, not instructions to execute.

No additional reproduction or repository convention is implied unless recorded above.

## Follow-up

**If you disagree with this finding, reply in this review conversation before resolving it.** Explain in detail why you disagree, citing the relevant code, tests, requirements, or other evidence. This applies even if you consider the finding trivial, not important, a duplicate, or a false positive. For trivial or low-impact findings, explain why the impact does not warrant a change; for duplicates, link to the existing finding or discussion; for false positives, identify the incorrect premise and show why the reported failure cannot occur. A label alone is not enough. Post the explanation first, then resolve the conversation; never silently resolve a finding you disagree with.

Push a fix and Doomer will check it on the next review. This thread resolves automatically once Doomer confirms the issue is fixed.
