Skip to content

Commit

Permalink
Merge pull request #1025 from github/aeisenberg/get-runs-api
Browse files Browse the repository at this point in the history
Exclude pull requests from actions/runs request
  • Loading branch information
aeisenberg committed Apr 7, 2022
2 parents a0b5962 + 0ecdac4 commit 739937f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
## [UNRELEASED]

- Update default CodeQL bundle version to 2.8.5. [#1014](https://github.com/github/codeql-action/pull/1014)
- 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)

## 2.1.7 - 05 Apr 2022

Expand Down
2 changes: 1 addition & 1 deletion lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/actions-util.ts
Expand Up @@ -424,7 +424,7 @@ async function getWorkflowPath(): Promise<string> {

const apiClient = api.getActionsApiClient();
const runsResponse = await apiClient.request(
"GET /repos/:owner/:repo/actions/runs/:run_id",
"GET /repos/:owner/:repo/actions/runs/:run_id?exclude_pull_requests=true",
{
owner,
repo,
Expand Down

0 comments on commit 739937f

Please sign in to comment.