1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Merge pull request #343 from Shegox/patch-1

Update GitHub Actions code example "with" syntax to map instead of array
This commit is contained in:
Felicity Chapman
2020-10-12 10:05:22 +01:00
committed by GitHub

View File

@@ -140,7 +140,7 @@ To add one or more queries, add a `with: queries:` entry within the `uses: githu
``` yaml ``` yaml
- uses: github/codeql-action/init@v1 - uses: github/codeql-action/init@v1
with: with:
- queries: COMMA-SEPARATED LIST OF PATHS queries: COMMA-SEPARATED LIST OF PATHS
``` ```
You can also specify query suites in the value of `queries`. Query suites are collections of queries, usually grouped by purpose or language. You can also specify query suites in the value of `queries`. Query suites are collections of queries, usually grouped by purpose or language.
@@ -154,8 +154,8 @@ In the following example, the `+` symbol ensures that the specified additional q
``` yaml ``` yaml
- uses: github/codeql-action/init@v1 - uses: github/codeql-action/init@v1
with: with:
- config-file: ./.github/codeql/codeql-config.yml config-file: ./.github/codeql/codeql-config.yml
- queries: +security-and-quality,octo-org/python-qlpack/show_ifs.ql@main queries: +security-and-quality,octo-org/python-qlpack/show_ifs.ql@main
``` ```
### Using a custom configuration file ### Using a custom configuration file