Skip to content

Commit

Permalink
Merge pull request github#343 from Shegox/patch-1
Browse files Browse the repository at this point in the history
Update GitHub Actions code example "with" syntax to map instead of array
  • Loading branch information
felicitymay authored Oct 12, 2020
2 parents d9f0ee9 + 6d536f9 commit 5f33f01
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ To add one or more queries, add a `with: queries:` entry within the `uses: githu
``` yaml
- uses: github/codeql-action/init@v1
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.
Expand All @@ -154,8 +154,8 @@ In the following example, the `+` symbol ensures that the specified additional q
``` yaml
- uses: github/codeql-action/init@v1
with:
- config-file: ./.github/codeql/codeql-config.yml
- queries: +security-and-quality,octo-org/python-qlpack/show_ifs.ql@main
config-file: ./.github/codeql/codeql-config.yml
queries: +security-and-quality,octo-org/python-qlpack/show_ifs.ql@main
```

### Using a custom configuration file
Expand Down

0 comments on commit 5f33f01

Please sign in to comment.