name: Check User Permission
on:
issues:
types: [opened, edited]
release:
types: [published]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: skjnldsv/check-actor-permission@v2
Name | Desc | Type | Required |
---|---|---|---|
token | GitHub token | string | ✖ |
require | Test whether the user meets the required permission | string | ✖ |
- User permission:
admin
>write
>read
result
: When use requireuser-permission
How to use?
You are very welcome to try it out and put forward your comments. You can use the following methods:
- Report bugs or consult with Issue
- Submit Pull Request to improve the code of
check-user-permission