Feature: Manual allowlist/denylist for actions (forbidden-uses
)
#558
Labels
enhancement
New feature or request
forbidden-uses
)
#558
Pre-submission checks
What's the problem this feature will solve?
For organizations that are worried about supply-chain security, it can be important to only allow actions that have been reviewed and approved.
Describe the solution you'd like
A new check that outputs a warning if an actions is used that is not on an allowlist.
By default, the check should only allow:
actions/*
)Additional actions could be added to an allowlist (via settings). Inversely, actions that have should not be used could be put into a denylist (and thus always result in high-severity finding).
Since most users don't need this, findings for non-allowlisted actions should probably be suppressed by default.
Additional context
Some ideas for settings:
The text was updated successfully, but these errors were encountered: