diff --git a/docs/actions/downloadWorkflowRunAttemptLogs.md b/docs/actions/downloadWorkflowRunAttemptLogs.md index 9e34d9429..a526a21cc 100644 --- a/docs/actions/downloadWorkflowRunAttemptLogs.md +++ b/docs/actions/downloadWorkflowRunAttemptLogs.md @@ -1,6 +1,6 @@ --- name: Download workflow run attempt logs -example: octokit.rest.actions.downloadWorkflowRunAttemptLogs({ owner, repo, attempt_num, attempt_number }) +example: octokit.rest.actions.downloadWorkflowRunAttemptLogs({ owner, repo, run_id, attempt_number }) route: GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs scope: actions type: API method @@ -17,7 +17,7 @@ GitHub Apps must have the `actions:read` permission to use this endpoint. octokit.rest.actions.downloadWorkflowRunAttemptLogs({ owner, repo, - attempt_num, + run_id, attempt_number, }); ``` @@ -39,9 +39,9 @@ octokit.rest.actions.downloadWorkflowRunAttemptLogs({ repoyes -attempt_numyes +run_idyes -The attempt number of the workflow run. +The id of the workflow run. attempt_numberyes diff --git a/docs/actions/getWorkflowRun.md b/docs/actions/getWorkflowRun.md index 1fb8a084a..0451f8f30 100644 --- a/docs/actions/getWorkflowRun.md +++ b/docs/actions/getWorkflowRun.md @@ -39,6 +39,11 @@ octokit.rest.actions.getWorkflowRun({ The id of the workflow run. + +exclude_pull_requestsno + +If `true` pull requests are omitted from the response (empty array). + diff --git a/docs/actions/getWorkflowRunAttempt.md b/docs/actions/getWorkflowRunAttempt.md index 62ee77c4b..18f697272 100644 --- a/docs/actions/getWorkflowRunAttempt.md +++ b/docs/actions/getWorkflowRunAttempt.md @@ -48,6 +48,11 @@ The id of the workflow run. The attempt number of the workflow run. + +exclude_pull_requestsno + +If `true` pull requests are omitted from the response (empty array). + diff --git a/docs/actions/listWorkflowRuns.md b/docs/actions/listWorkflowRuns.md index ab5d1e43b..2f38c8079 100644 --- a/docs/actions/listWorkflowRuns.md +++ b/docs/actions/listWorkflowRuns.md @@ -74,6 +74,11 @@ Page number of the results to fetch. createdno + +exclude_pull_requestsno + +If `true` pull requests are omitted from the response (empty array). + diff --git a/docs/actions/listWorkflowRunsForRepo.md b/docs/actions/listWorkflowRunsForRepo.md index abe55725d..ccc972213 100644 --- a/docs/actions/listWorkflowRunsForRepo.md +++ b/docs/actions/listWorkflowRunsForRepo.md @@ -68,6 +68,11 @@ Page number of the results to fetch. createdno + +exclude_pull_requestsno + +If `true` pull requests are omitted from the response (empty array). + diff --git a/package-lock.json b/package-lock.json index 2c5018e6f..fd743d5e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/types": "^6.32.0", + "@octokit/types": "^6.33.0", "deprecation": "^2.3.1" }, "devDependencies": { @@ -2515,9 +2515,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.0.0.tgz", - "integrity": "sha512-QeMW4h18cEm53ojYufACSRgq3rrQg4BibVcsHytXmbJ+otmXSelr1BCBCEi8q7nqGkYJyGQX30DoULENIgJ8BA==" + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.1.0.tgz", + "integrity": "sha512-dWZfYvCCdjZzDYA3lIAMF72Q0jld8xidqCq5Ryw09eBJXZdcM6he0vWBTvw/b5UnGYqexxOyHWgfrsTlUJL3Gw==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "2.16.7", @@ -2591,11 +2591,11 @@ } }, "node_modules/@octokit/types": { - "version": "6.32.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.32.0.tgz", - "integrity": "sha512-7CFlMfpX78PbvGnQZfQ3pD246RGTLITDnLCyYgTOtwNPIdTKMGs/8dJiZA3Fh5vXuZYqu/YHH32GboK7xnZ0ag==", + "version": "6.33.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.33.0.tgz", + "integrity": "sha512-0zffZ048M0UhthyPXQHLz4038Ak46nMWZXkzlXvXB/M/L1jYPBceq4iZj4qjKVrvveaJrrgKdJ9+3yUuITfcCw==", "dependencies": { - "@octokit/openapi-types": "^11.0.0" + "@octokit/openapi-types": "^11.1.0" } }, "node_modules/@pika/babel-plugin-esm-import-rewrite": { @@ -18944,9 +18944,9 @@ } }, "@octokit/openapi-types": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.0.0.tgz", - "integrity": "sha512-QeMW4h18cEm53ojYufACSRgq3rrQg4BibVcsHytXmbJ+otmXSelr1BCBCEi8q7nqGkYJyGQX30DoULENIgJ8BA==" + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.1.0.tgz", + "integrity": "sha512-dWZfYvCCdjZzDYA3lIAMF72Q0jld8xidqCq5Ryw09eBJXZdcM6he0vWBTvw/b5UnGYqexxOyHWgfrsTlUJL3Gw==" }, "@octokit/plugin-paginate-rest": { "version": "2.16.7", @@ -19012,11 +19012,11 @@ } }, "@octokit/types": { - "version": "6.32.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.32.0.tgz", - "integrity": "sha512-7CFlMfpX78PbvGnQZfQ3pD246RGTLITDnLCyYgTOtwNPIdTKMGs/8dJiZA3Fh5vXuZYqu/YHH32GboK7xnZ0ag==", + "version": "6.33.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.33.0.tgz", + "integrity": "sha512-0zffZ048M0UhthyPXQHLz4038Ak46nMWZXkzlXvXB/M/L1jYPBceq4iZj4qjKVrvveaJrrgKdJ9+3yUuITfcCw==", "requires": { - "@octokit/openapi-types": "^11.0.0" + "@octokit/openapi-types": "^11.1.0" } }, "@pika/babel-plugin-esm-import-rewrite": { diff --git a/package.json b/package.json index 7862456f4..81eb351bc 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^6.32.0", + "@octokit/types": "^6.33.0", "deprecation": "^2.3.1" }, "devDependencies": { diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index b2e0ed347..8ff81a8ce 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -1467,8 +1467,8 @@ "deprecated": null }, { - "name": "attempt_num", - "description": "The attempt number of the workflow run.", + "name": "run_id", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -2751,6 +2751,19 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "exclude_pull_requests", + "description": "If `true` pull requests are omitted from the response (empty array).", + "in": "QUERY", + "type": "boolean", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [ @@ -2831,6 +2844,19 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "exclude_pull_requests", + "description": "If `true` pull requests are omitted from the response (empty array).", + "in": "QUERY", + "type": "boolean", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [ @@ -4112,6 +4138,19 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "exclude_pull_requests", + "description": "If `true` pull requests are omitted from the response (empty array).", + "in": "QUERY", + "type": "boolean", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [ @@ -4271,6 +4310,19 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "exclude_pull_requests", + "description": "If `true` pull requests are omitted from the response (empty array).", + "in": "QUERY", + "type": "boolean", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [