Skip to content

Commit

Permalink
fix codeql database api 404 error (github#26300)
Browse files Browse the repository at this point in the history
  • Loading branch information
Y4er authored Jun 30, 2023
1 parent 7fc7867 commit 8e324de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ steps:
You can check if a repository has any {% data variables.product.prodname_codeql %} databases available for download using the `/repos/<owner>/<repo>/code-scanning/codeql/databases` endpoint. For example, to check for {% data variables.product.prodname_codeql %} databases using the [{% data variables.product.prodname_cli %}](https://cli.github.com/manual/gh_api) you would run:

```
gh api /repos/<owner>/<repo>/code-scanning/codeql/databases/
gh api /repos/<owner>/<repo>/code-scanning/codeql/databases
```

This command returns information about any {% data variables.product.prodname_codeql %} databases that are available for a repository, including the language the database represents, and when the database was last updated. If no {% data variables.product.prodname_codeql %} databases are available, the response is empty.
Expand Down

0 comments on commit 8e324de

Please sign in to comment.