vibeqm-check 0.4.3 → 0.4.4

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/README.md CHANGED
@@ -130,7 +130,7 @@ that caused it. The report appears on the run's summary page.
130
130
  ```yaml
131
131
  - uses: actions/checkout@v4
132
132
  with: { fetch-depth: 0 } # the checks sample history
133
- - uses: vibeqm/vibeqm-check@v0.4.3
133
+ - uses: vibeqm/vibeqm-check@v0.4.4
134
134
  with: { min-level: 2 } # optional: fail the run below this level
135
135
  ```
136
136
 
@@ -89,7 +89,7 @@ export function checksBeforeMerge(root) {
89
89
  const rel = relative(realpathSync(root), realpathSync(p));
90
90
  const where = rel.startsWith("..")
91
91
  ? "a shared hook outside the repository, enabled on this machine"
92
- : (git(root, ["ls-files", rel]) ?? "").trim()
92
+ : (git(root, ["ls-files", "--", rel]) ?? "").trim()
93
93
  ? `committed in the repository (${rel}); each clone enables it with \`git config core.hooksPath\``
94
94
  : "enabled on this machine only, not committed";
95
95
  evidence.push(`blocking git hook ${name} runs \`${runs.trim()}\`: ${where}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeqm-check",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Self-assessment for the Vibe Quality Model (VibeQM): fact checks on a repository, with evidence for every gate",
5
5
  "keywords": [
6
6
  "vibe-quality-model",
@@ -12,12 +12,12 @@ jobs:
12
12
  verify:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v4
15
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
16
16
  # Your build, tests, linter and static analysis. Uncomment the lines for your
17
17
  # stack, or write your own. Until one runs, this job checks nothing.
18
18
  #
19
19
  # Node:
20
- # - uses: actions/setup-node@v4
20
+ # - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
21
21
  # with: { node-version: 22 }
22
22
  # - run: npm ci && npm run lint && npm test
23
23
  # - run: npm audit --audit-level=critical
@@ -28,13 +28,13 @@ jobs:
28
28
  # - run: pipx run pip-audit -r requirements.txt
29
29
  #
30
30
  # Go:
31
- # - uses: actions/setup-go@v5
31
+ # - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
32
32
  # - run: go vet ./... && go test ./...
33
33
  security:
34
34
  # Secret scanning over the whole history, and static security analysis.
35
35
  runs-on: ubuntu-latest
36
36
  steps:
37
- - uses: actions/checkout@v4
37
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
38
38
  with:
39
39
  fetch-depth: 0
40
40
  - name: gitleaks 8.30.1, checksum-verified (secret scanning)