example-permissions-warning
Example of proper permission provisioning and security practice in a workflow.
- Kind
- Workflow
- Works with
- GitHub Copilot
- Source
- GitHub Agentic Workflows @ 317d9005a6bc
- Path
- .github/workflows/example-permissions-warning.md
- Jobs
- Guardrails
- Topics
- Security audits
Credit
- Made by
- github
- Original
- github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3a…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- Steps in the source's README; what they create is not stated in the catalog
- Runs scripts
- Unknown
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 317d9005a6bc
- Licence
- MIT
- Last activity
- 27 Nov 2026
- Source changed after the scan
- Yes
- Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- What this adds depends on the source's own instructions
# Example: Properly Provisioned Permissions This workflow demonstrates properly configured permissions for GitHub toolsets. The GitHub MCP server always operates in read-only mode. The workflow uses three GitHub toolsets with read permissions: - The `repos` toolset uses `contents: read` for repository operations - The `issues` toolset uses `issues: read` for issue management - The `pull_requests` toolset uses `pull-requests: read` for PR operations All required permissions are properly declared in the frontmatter, so this workflow compiles without warnings and can execute successfully when dispatched.