We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As a user of GitHub CodeQL in Actions I would like to be able to pass some configuration when running my workflow, for example:
Today only a subset of the available configuration/parameters is available in the action.
Add a new parameter, for example called configuration that will take the same format as a config-file but can be used directly in the action.
configuration
config-file
The idea is to support the following examples:
Complete on configuration
- uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} configuration: | disable-default-queries: true queries: - uses: security-extended - uses: security-and-quality query-filters: - include: tags: /cwe-020/
Actions Variable
- uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} configuration: | ${{vars.CODEQL_CONF}}
Input Parameter
- uses: tgrall/codeql-action/init@query-filter with: languages: ${{ matrix.language }} configuration: | disable-default-queries: true queries: - uses: security-extended - uses: security-and-quality query-filters: - include: tags: /${{ github.event.inputs.codeql-include-tags }}/
The text was updated successfully, but these errors were encountered:
This is now available.
Sorry, something went wrong.
aeisenberg
Successfully merging a pull request may close this issue.
Problem
As a user of GitHub CodeQL in Actions I would like to be able to pass some configuration when running my workflow, for example:
Today only a subset of the available configuration/parameters is available in the action.
Solution
Add a new parameter, for example called
configuration
that will take the same format as aconfig-file
but can be used directly in the action.The idea is to support the following examples:
Complete on configuration
Actions Variable
Input Parameter
The text was updated successfully, but these errors were encountered: