check_permissions
Check if the current user has permission to perform actions like add, delete, approve, or merge, optionally against codeowners patterns for a specific file path.
Instructions
check if the current user can perform a specific action (add, delete, approve, merge).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | the action to check | |
| path | No | optional file path to check permissions against codeowners pattern |