@zgeoff/chex 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lefthook.yml CHANGED
@@ -86,7 +86,7 @@ pre-push:
86
86
  glob: '*.md'
87
87
  run: '{clear-git-env} bun x --no-install diet -- bun run --silent check:docs'
88
88
  # GitHub runs no workflow from a subfolder of .github/workflows, and
89
- # sync/workflow-callers holds the workflows that tools delivers. actionlint
89
+ # sync/src/workflow-callers holds the workflows that tools delivers. actionlint
90
90
  # 1.7.12 rejects the concurrency queue key that GitHub documents, until
91
91
  # rhysd/actionlint#654 ships; the ignore lapses on the same date as in CI.
92
92
  # The workflow lint runs after actionlint, even when actionlint is missing
@@ -97,7 +97,7 @@ pre-push:
97
97
  node_modules/@zgeoff/chex/src/read-branch-files.ts
98
98
  glob:
99
99
  - '.github/workflows/*.{yml,yaml}'
100
- - 'sync/workflow-callers/*.{yml,yaml}'
100
+ - 'sync/src/workflow-callers/*.{yml,yaml}'
101
101
  run: |
102
102
  {clear-git-env}
103
103
  status=0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgeoff/chex",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Run each shared docs and repo check as one subcommand, with the lefthook pre-push baseline that calls them",
5
5
  "keywords": [
6
6
  "checks",
@@ -28,7 +28,7 @@ export interface WorkflowsCheckOptions {
28
28
  }
29
29
 
30
30
  // GitHub runs no workflow from a subfolder of .github/workflows.
31
- const workflowPathPattern = /^(?:\.github\/workflows|sync\/workflow-callers)\/[^/]+\.ya?ml$/u;
31
+ const workflowPathPattern = /^(?:\.github\/workflows|sync\/src\/workflow-callers)\/[^/]+\.ya?ml$/u;
32
32
 
33
33
  // The check reads the files as HEAD holds them, so a push checks what it sends.
34
34
  export function runWorkflowsCheck(options: Readonly<WorkflowsCheckOptions>): WorkflowFinding[] {