Skip to content

Commit b624eee

Browse files
authored
Merge pull request #219 from casals/patch-20
Update running-code-scanning-in-your-ci-system.md
2 parents a990e23 + bfa9c6d commit b624eee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

content/github/finding-security-vulnerabilities-and-errors-in-your-code/running-code-scanning-in-your-ci-system.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ On Windows, the `codeql-runner-win.exe` file usually requires no change to permi
4343

4444
### Adding the {% data variables.product.prodname_codeql_runner %} to your CI system
4545

46-
Once you have downloaded the {% data variables.product.prodname_codeql_runner %} and verified that it can be executed, you should make the runner available to each CI server that you intend to use for {% data variables.product.prodname_code_scanning %}. In addition to this, each CI server also needs:
46+
Once you have downloaded the {% data variables.product.prodname_codeql_runner %} and verified that it can be executed, you should make the runner available to each CI server that you intend to use for {% data variables.product.prodname_code_scanning %}. It is important to notice that each CI server that you intend to use for {% data variables.product.prodname_code_scanning %} needs to have the {% data variables.product.prodname_codeql_runner %}. You might configure each server to copy the runner from a central, internal location, or you could use the REST API to get the runner direct from GitHub, for example:
47+
48+
```shell
49+
wget https://github.com/github/codeql-action/releases/download/codeql-bundle-20200826/codeql-runner-linux
50+
chmod +x codeql-runner-linux
51+
```
52+
53+
In addition to this, each CI server also needs:
4754

4855
- A {% data variables.product.prodname_github_apps %} or personal access token for the {% data variables.product.prodname_codeql_runner %} to use. For private repositories the token must have the `repo` scope. For public the token needs only the `public_repo` and `repo:security_events` scopes. For information, see "[Building {% data variables.product.prodname_github_apps %}](/developers/apps/building-github-apps)" and "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)."
4956
- Access to the {% data variables.product.prodname_codeql %} bundle associated with this release of the {% data variables.product.prodname_codeql_runner %}. This package contains the {% data variables.product.prodname_codeql %} CLI, queries, and libraries needed for {% data variables.product.prodname_codeql %} analysis. For information, see "[{% data variables.product.prodname_codeql %} CLI](https://help.semmle.com/codeql/codeql-cli.html)."

0 commit comments

Comments
 (0)