actions-marketplace-validations/Package Policy

Checks the package manifest (package.json) for references to packages contained in a provided list

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
policySet to either `allow` or `prohibit`. When allow is the policy, any packages not on the list will be in violation. When prohibit is the policy, any packages on the list will be in violation.yes
policy-urlThe url to a publicly available json file containing a list of allowed or prohibited packages.yes
fail-if-violationsTrue to set the status of the action to Failed if violations occur. Set to false to allow downstream packages to execute. Defaults to true.notrue
include-dev-dependenciesTrue to enforce the policy against packages in the `devDependencies` node. Defaults to false.nofalse
github-tokenYour GitHub token to access the files in the commits tied to the push or puill request.yes
namedescription
resultsA list of any packages breaking the provided policy rules.