Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ludeeus/action-accesscontrol
Check if the invoker has access defined access level.
https://github.com/ludeeus/action-accesscontrol
Last synced: 21 days ago
JSON representation
Check if the invoker has access defined access level.
- Host: GitHub
- URL: https://github.com/ludeeus/action-accesscontrol
- Owner: ludeeus
- License: mit
- Created: 2019-03-09T09:54:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T01:43:54.000Z (over 4 years ago)
- Last Synced: 2024-10-04T19:26:29.084Z (about 1 month ago)
- Language: Python
- Size: 1.95 KB
- Stars: 6
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ACCESSCONTROL
[![BuyMeCoffee][buymecoffeebedge]][buymecoffee]
_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`.[buymecoffee]: https://www.buymeacoffee.com/ludeeus
[buymecoffeebedge]: https://camo.githubusercontent.com/cd005dca0ef55d7725912ec03a936d3a7c8de5b5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275792532306d6525323061253230636f666665652d646f6e6174652d79656c6c6f772e737667