Skip to content

Commit 62e2eee

Browse files
authored
ci: treat all .github/workflows/** as code changes (#165)
Previously the path filter only included .github/workflows/ci.yml in the "code" set. Editing any other workflow (auto-approve.yml, security.yml, release.yml, etc.) caused the changes job to report "no code change", which made unit-test / build / integration-test jobs skip. This is a bug: - Workflow changes can affect CI behavior, permissions, release process, auto-approve logic, etc. - It caused PRs that touched auto-approve.yml (like the Scorecard parser fix) to have their required status checks skipped → merge blocked. Fix: broaden the filter to .github/workflows/** (matching the pattern used in other mature projects like patchloom). Pure documentation changes (AGENTS.md, README, images/, etc.) are still correctly skipped. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent ee86729 commit 62e2eee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- 'tsconfig*.json'
4141
- '.nvmrc'
4242
- '.github/actions/**'
43-
- '.github/workflows/ci.yml'
43+
- '.github/workflows/**' # any workflow change is "code" (fixes auto-approve.yml etc. being skipped)
4444
4545
unit-test:
4646
needs: [changes]

0 commit comments

Comments
 (0)