Skip to content

👮 A GitHub Action to check user permission of the current repository.

License

Notifications You must be signed in to change notification settings

skjnldsv/check-actor-permission

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👮 Check User Permission

🚀 How to use?

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

Input

Name Desc Type Required
token GitHub token string ✖
require Test whether the user meets the required permission string ✖
  • User permission: admin > write > read

Output

  • result: When use require
  • user-permission

How to use?

âš¡ Feedback

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

LICENSE

MIT

About

👮 A GitHub Action to check user permission of the current repository.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%