Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Py] captainhook.json fails to parse govulncheck condition #1936

Open
kirgrim opened this issue Feb 11, 2025 · 0 comments
Open

[Py] captainhook.json fails to parse govulncheck condition #1936

kirgrim opened this issue Feb 11, 2025 · 0 comments
Assignees
Milestone

Comments

@kirgrim
Copy link
Contributor

kirgrim commented Feb 11, 2025

Command configured in captainhook.json does not encounter the files to consider

{
  "run": "govulncheck -C go ./...",
  "conditions": [
    {
      "run": "CaptainHook::FileChanged.Any",
      "options": {
        "files": ["go/go.mod", "go.sum", "*.go"]
      }
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants