You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: move CI permissions and env to job-level scope (#141)
* fix: move permissions and env from workflow-level to job-level in generated CI
Security scanners (e.g., SonarQube) flag workflow-level permissions as a
vulnerability because they grant access to all jobs, including the gate
job which only checks results and needs no special access.
Move ci.permissions and ci.env from workflow-level to individual job
definitions (validate and coverage jobs). The all-validation-passed gate
job inherits no unnecessary permissions or env vars. Concurrency remains
at workflow level as it governs the whole workflow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: bump version to 0.19.1-rc.2, consolidate changelog
Consolidate generate-workflow fixes (job-level permissions, indentation,
build auto-detection) into a single changelog entry. Bump all packages
from 0.19.1-rc.1 to 0.19.1-rc.2.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
18
19
19
### Fixed
20
20
21
+
-**`generate-workflow` hardening** — `ci.permissions` and `ci.env` are now applied to the `validate` and `coverage` jobs instead of at workflow level, so the `all-validation-passed` gate job no longer inherits unnecessary access (resolves SonarQube workflow-level permissions flag). Also fixed check script indentation and build step auto-detection (no longer matches on step name substring — checks `package.json` for a `build` script instead).
21
22
-**`watch-pr` crashes on repos with non-main default branch** — `fetchFileChanges` hardcoded `origin/main` for git diff, causing failures on repos using `master`, `develop`, or other base branches. Now uses the PR's actual base branch from GitHub metadata.
22
-
-**`generate-workflow` check script indentation** — The `all-validation-passed` gate job's bash script had excessive indentation, now uses standard 2-space indent
23
-
-**`generate-workflow` build step auto-detection** — No longer matches on step name substring (e.g., "dotnet build" falsely triggered `npm run build`). Now checks `package.json` for a `build` script instead.
Copy file name to clipboardExpand all lines: docs/skill/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: vibe-validate
3
-
version: 0.19.1-rc.1# Tracks vibe-validate package version
3
+
version: 0.19.1-rc.2# Tracks vibe-validate package version
4
4
description: Expert guidance for vibe-validate, an LLM-optimized validation orchestration tool. Use when working with vibe-validate commands, configuration, pre-commit workflows, or validation orchestration in TypeScript projects.
0 commit comments