Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions code example "with" syntax to map instead of array #343

Merged
merged 2 commits into from
Oct 12, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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