Skip to content

fix: repair Wazuh detection script parse error breaking Validate and Auto Release - #1

Open
Nerdy-Technician wants to merge 2 commits into
mainfrom
fix/ci-validate
Open

Nerdy-Technician wants to merge 2 commits into
mainfrom
fix/ci-validate

Conversation

@Nerdy-Technician

Copy link
Copy Markdown
Owner

Summary

  • Fix: AV/Detect-Wazuh.ps1 was missing its closing } and failed to parse, so build/Test-Repository.ps1 exited 1 and both Validate and Auto Release have failed on main since 12 Jul.
  • CI: actions/checkout v4 -> v7, softprops/action-gh-release v2 -> v3 (both off the deprecated Node 20 runtime).

Verification

Run in a PowerShell container:

  • Before: Test-Repository.ps1 fails with AV/Detect-Wazuh.ps1:9: Missing closing '}'.
  • After: Validated 72 PowerShell files and 69 detection scripts.
  • build/pack.ps1 -Version v0.0.0 produces the release zip.

Detect-Wazuh.ps1 failed to parse (Missing closing '}' at line 9), which made build/Test-Repository.ps1 exit 1 and broke both Validate and Auto Release on main since 12 Jul.
Both previous majors run on the deprecated Node 20 Actions runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant