permissions_review
Audits GitHub Actions job token permissions, flags unnecessary write access or missing scopes, and prints a least-privilege permissions block per job.
Instructions
Show the effective GITHUB_TOKEN permissions of every job (job-level replaces workflow-level; absent
means the repository default), infer what each job actually needs from the actions and gh/git commands
it uses, flag write access that looks unnecessary and permissions that are missing, and print a
least-privilege permissions: block per job. The inference is heuristic and says when it is partial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |