1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Update setting-up-code-scanning-for-a-repository.md (#8957)

Co-authored-by: hubwriter <hubwriter@github.com>
This commit is contained in:
Nick Liffen
2021-08-11 22:03:14 +01:00
committed by GitHub
parent 88eb9db7bb
commit fcf90823c1

View File

@@ -44,7 +44,8 @@ You decide how to generate {% data variables.product.prodname_code_scanning %} a
In the default {% data variables.product.prodname_codeql_workflow %}, {% data variables.product.prodname_code_scanning %} is configured to analyze your code each time you either push a change to the default branch or any protected branches, or raise a pull request against the default branch. As a result, {% data variables.product.prodname_code_scanning %} will now commence.
## Bulk set up of {% data variables.product.prodname_code_scanning %}
You can set up {% data variables.product.prodname_code_scanning %} in many repositories at once using a script. For an example of a script that raises pull requests to add a {% data variables.product.prodname_actions %} workflow to multiple repositories, see the [`jhutchings1/Create-ActionsPRs`](https://github.com/jhutchings1/Create-ActionsPRs) repository.
You can set up {% data variables.product.prodname_code_scanning %} in many repositories at once using a script. For an example of a script that raises pull requests to add a {% data variables.product.prodname_actions %} workflow to multiple repositories, see the [`jhutchings1/Create-ActionsPRs`](https://github.com/jhutchings1/Create-ActionsPRs) repository for an example using Powershell, or [`nickliffen/ghas-enablement`](https://github.com/NickLiffen/ghas-enablement) for teams who do not have Powershell and instead would like to use NodeJS.
## Viewing the logging output from {% data variables.product.prodname_code_scanning %}