mirror of
https://github.com/github/codeql-action
synced 2026-05-20 05:00:58 +03:00
rename new parameter from configuration to config
This commit is contained in:
@@ -138,7 +138,7 @@ By default, this will override any queries specified in a config file. If you wi
|
||||
### Configuration
|
||||
|
||||
|
||||
Use the `configuration` parameter of the `init` action to enable a workflow based configuration. The value of `configuration` should be compliant with the configuration file format documented at [Using a custom configuration file](https://help.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#using-a-custom-configuration-file)."
|
||||
Use the `config` parameter of the `init` action to enable a workflow based configuration. The value of `configuration` should be compliant with the configuration file format documented at [Using a custom configuration file](https://help.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#using-a-custom-configuration-file)."
|
||||
|
||||
|
||||
- **Complete Configuration**
|
||||
@@ -147,7 +147,7 @@ Use the `configuration` parameter of the `init` action to enable a workflow base
|
||||
- uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
configuration: |
|
||||
config: |
|
||||
disable-default-queries: true
|
||||
queries:
|
||||
- uses: security-extended
|
||||
@@ -166,7 +166,7 @@ Use the `configuration` parameter of the `init` action to enable a workflow base
|
||||
- uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
configuration: |
|
||||
config: |
|
||||
${{vars.CODEQL_CONF}}
|
||||
```
|
||||
|
||||
@@ -181,7 +181,7 @@ Use the `configuration` parameter of the `init` action to enable a workflow base
|
||||
- uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
configuration: |
|
||||
config: |
|
||||
disable-default-queries: true
|
||||
queries:
|
||||
- uses: security-extended
|
||||
|
||||
Reference in New Issue
Block a user