Skip to content

Commit f479d86

Browse files
committed
ci: add assets/** to push trigger paths for auto-commit retrigger
1 parent 93d3f5a commit f479d86

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- "src/**"
1010
- "scripts/**"
1111
- "tests/**"
12+
- "assets/**"
1213
- "package.json"
1314
- "bun.lock"
1415
- "tsconfig.json"

tests/scripts/ci-workflow.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ describe('CI workflow trigger filters', () => {
6969
}
7070
});
7171

72-
test('push does not include generated release artifacts', () => {
72+
test('push includes schema assets so auto-commits retrigger CI', () => {
7373
const pushPaths = extractPaths(readWorkflow(), 'push');
7474

75-
expect(pushPaths).not.toContain('assets/**');
75+
expect(pushPaths).toContain('assets/**');
7676
expect(pushPaths).toContain('package.json');
7777
});
7878

0 commit comments

Comments
 (0)