mirror of
https://github.com/github/codeql-action.git
synced 2026-05-08 06:40:19 +00:00
Remove output from README
As this is an advanced usage it makes more sense to work to getting this included in the documentation instead.
This commit is contained in:
@@ -125,24 +125,6 @@ By default, this will override any queries specified in a config file. If you wi
|
||||
queries: +<local-or-remote-query>,<another-query>
|
||||
```
|
||||
|
||||
### Calling CodeQL Directly
|
||||
|
||||
The `init` action makes the path to CodeQL available as the output `codeql-path`.
|
||||
|
||||
With this you can access the `codeql` binary:
|
||||
|
||||
<!-- this example is run via .github/workflows/codeql.yml -->
|
||||
```yaml
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
id: init
|
||||
with:
|
||||
languages: javascript
|
||||
|
||||
- name: Print CodeQL Version
|
||||
run: ${{steps.init.outputs.codeql-path}} version --format=json
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Read about [troubleshooting code scanning](https://help.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning).
|
||||
|
||||
Reference in New Issue
Block a user