apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /repos/{owner}/{repo}/actions/permissions/fork-pr-workflows-private-repos — GitHub API

GitHub playground

Set private repo fork PR workflow settings for a repository

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

4 body fields
  • run_workflows_from_fork_pull_requests · required · boolean — Whether workflows triggered by pull requests from forks are allowed to run on private repositories.
  • send_write_tokens_to_workflows · optional · boolean — Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request.
  • send_secrets_and_variables · optional · boolean — Whether to make secrets and variables available to workflows triggered by pull requests from forks.
  • require_approval_for_fork_pr_workflows · optional · boolean — Whether workflows triggered by pull requests from forks require approval from a repository administrator to run.