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
This branch is 68 commits ahead of, 34 commits behind actions-cool/check-user-permission:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

038a8d1 Â· Jun 24, 2024

History

78 Commits
Feb 1, 2024
Feb 5, 2024
Oct 15, 2022
Oct 15, 2022
Oct 15, 2022
Mar 4, 2021
Mar 4, 2021
Mar 4, 2021
Jul 24, 2021
Feb 1, 2024
Jun 24, 2024
Jun 24, 2024

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%