You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/github.mdx
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1019,10 +1019,10 @@ Update branch protection rules for a specific branch, including status checks, r
1019
1019
|`owner`| string | Yes | Repository owner \(user or organization\)|
1020
1020
|`repo`| string | Yes | Repository name |
1021
1021
|`branch`| string | Yes | Branch name |
1022
-
|`required_status_checks`| object |Yes| Required status check configuration\(null to disable\). Object with strict \(boolean\) and contexts \(string array\)|
1023
-
|`enforce_admins`| boolean |Yes| Whether to enforce restrictions for administrators |
1024
-
|`required_pull_request_reviews`| object |Yes| PR review requirements\(null to disable\). Object with optional required_approving_review_count, dismiss_stale_reviews, require_code_owner_reviews |
1025
-
|`restrictions`| object |Yes| Push restrictions\(null to disable\). Object with users \(string array\)and teams \(string array\)|
1022
+
|`required_status_checks`| object |No| Required status check configuration. Object with strict \(boolean\) and contexts \(string array\). Omit to disable status checks — GitHub receives an explicit null.|
1023
+
|`enforce_admins`| boolean |No| Whether to enforce restrictions for administrators. Omit to disable admin enforcement — GitHub receives an explicit null.|
1024
+
|`required_pull_request_reviews`| object |No| PR review requirements. Object with optional required_approving_review_count, dismiss_stale_reviews, require_code_owner_reviews. Omit to disable review requirements — GitHub receives an explicit null.|
1025
+
|`restrictions`| object |No| Push restrictions, available only for organization-owned repositories. Object with users \(string array\), teams \(string array\)and optional apps \(string array\). Omit to disable push restrictions — GitHub receives an explicit null.|
1026
1026
|`apiKey`| string | Yes | GitHub Personal Access Token |
1027
1027
1028
1028
#### Output
@@ -1805,14 +1805,15 @@ Trigger a workflow dispatch event for a GitHub Actions workflow. The workflow mu
1805
1805
1806
1806
### GitHub List Workflow Runs
1807
1807
1808
-
List workflow runs for a repository. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.
1808
+
List workflow runs for a repository, or for a single workflow when a workflow ID or filename is given. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.
1809
1809
1810
1810
#### Input
1811
1811
1812
1812
| Parameter | Type | Required | Description |
1813
1813
| --------- | ---- | -------- | ----------- |
1814
1814
|`owner`| string | Yes | Repository owner \(user or organization\)|
1815
1815
|`repo`| string | Yes | Repository name |
1816
+
|`workflow_id`| string | No | The ID of the workflow. You can also pass the workflow file name as a string \(e.g., ci.yml\). Omit to list runs across the whole repository. |
1816
1817
|`actor`| string | No | Filter by user who triggered the workflow |
1817
1818
|`branch`| string | No | Filter by branch name |
1818
1819
|`event`| string | No | Filter by event type \(e.g., push, pull_request, workflow_dispatch\)|
0 commit comments