ACCESSCONTROL
Check if the invoker has access.
Example
workflow "Access control" {
on = "push"
resolves = ["Access control"]
}
action "Access control" {
uses = "ludeeus/action-accesscontroll@master"
env = {
ACTION_LEVEL = "admin"
}
secrets = ["GITHUB_TOKEN"]
}
ENV VARS
| ENV | description |
|---|---|
ACTION_LEVEL |
The level of access the user will need to pass this check, can be admin, write or read. |