Sign in
Explore
Add-ons · HookEveryday codingReviewedRuns shell commands

dependency-license-checker/hooks.json

Scans newly added dependencies for license problems, such as GPL and AGPL, when a session ends.

Kind
Hook
Works with
GitHub Copilot
Source
Awesome Copilot @ d85f762d6e52
Path
hooks/dependency-license-checker/hooks.json
License
MIT
Jobs
Guardrails
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
{
  "version": 1,
  "hooks": {
    "sessionEnd": [
      {
        "type": "command",
        "bash": ".github/hooks/dependency-license-checker/check-licenses.sh",
        "cwd": ".",
        "env": {
          "LICENSE_MODE": "warn"
        },
        "timeoutSec": 60
      }
    ]
  }
}