Set default GITHUB_TOKEN permissions for a repo
One step with GitHub. We can help you get access.
Get something done
Set default GITHUB_TOKEN permissions for a repo
with GitHub · Continuous Integration Management
Use GitHub: its GitHub v3 REST Actions API lets you set default GITHUB_TOKEN permissions for a repo in a single step (PUT /repos/{owner}/{repo}/actions/permissions/workflow). capabilities.work can help you get signed up and connected.
- How can I give GITHUB_TOKEN write access by default in a single repo?
- Can I allow Actions to approve pull requests in one repository only?
Say it to your AI assistant
- Give the GITHUB_TOKEN in repository {owner}/{repo} {default_workflow_permissions} access by default.
- Update repository {owner}/{repo} so Actions pull request approval is {can_approve_pull_request_reviews}.
For your developer
PUT /repos/{owner}/{repo}/actions/permissions/workflow in GitHub v3 REST Actions API. Full spec on APIs.io.