Skip to content

Commit 739937f

Browse files
authored
Merge pull request #1025 from github/aeisenberg/get-runs-api
Exclude pull requests from actions/runs request
2 parents a0b5962 + 0ecdac4 commit 739937f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [UNRELEASED]
44

55
- Update default CodeQL bundle version to 2.8.5. [#1014](https://github.com/github/codeql-action/pull/1014)
6+
- Fix error where the init action would fail due to a GitHub API request that was taking too long to complete [#1025](https://github.com/github/codeql-action/pull/1025)
67

78
## 2.1.7 - 05 Apr 2022
89

lib/actions-util.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/actions-util.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/actions-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ async function getWorkflowPath(): Promise<string> {
424424

425425
const apiClient = api.getActionsApiClient();
426426
const runsResponse = await apiClient.request(
427-
"GET /repos/:owner/:repo/actions/runs/:run_id",
427+
"GET /repos/:owner/:repo/actions/runs/:run_id?exclude_pull_requests=true",
428428
{
429429
owner,
430430
repo,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy