---
title: "Approve a workflow run for a fork pull request"
method: POST
path: "/repos/{owner}/{repo}/actions/runs/{run_id}/approve"
tags: ["actions"]
---

# Approve a workflow run for a fork pull request

`POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve`

## Request

- Base URL: `https://api.github.com`
- URL: `https://api.github.com/repos/{owner}/{repo}/actions/runs/{run_id}/approve`
- Auth: none declared

Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)."

OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required
- `run_id` integer, required

## Response `201`

Response

- EmptyObject: An object without any properties.

## Other responses

- `403`: Forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/github/apis/rest.md) · [All operations](https://skmtc.dev/github/apis/rest/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/rest/revisions/309e30296b21?raw)
