Skip to content

Add more info about dot syntax to the readme #42

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

Merged
merged 4 commits into from
May 22, 2020
Merged

Add more info about dot syntax to the readme #42

merged 4 commits into from
May 22, 2020

Conversation

Daverlo
Copy link
Contributor

@Daverlo Daverlo commented May 17, 2020

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

@@ -84,7 +84,7 @@ The CodeQL action should be run on `push` events, and on a `schedule`. `Push` ev

### Configuration

You may optionally specify additional queries for CodeQL to execute by using a config file. The queries must belong to a [QL pack](https://help.semmle.com/codeql/codeql-cli/reference/qlpack-overview.html) and can be in your repository or any public repository. You can choose a single .ql file, a folder containing multiple .ql files, a .qls [query suite](https://help.semmle.com/codeql/codeql-cli/procedures/query-suites.html) file, or any combination of the above. To use queries from other repositories use the same syntax as when [using an action](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in "locatio". I personally would also rewrite the last sentence as "Note that when using local queries starting with ./, the path is relative to the root of the repository and not to the location of the config file."

I think it flows a bit better. I know what you mean currently but constructions like "Note that for using" are a little bit odd, and I think flipping the order of the last two cases makes it more clear.

@Daverlo Daverlo merged commit 8b71cf3 into master May 22, 2020
@robertbrignull robertbrignull mentioned this pull request Jun 1, 2020
4 tasks
@chrisgavin chrisgavin deleted the dot-syntax branch September 2, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants