rename new parameter from configuration to config

This commit is contained in:
tgrall 2023-04-01 07:13:01 +02:00
commit fe4a785361
1005 changed files with 731919 additions and 985086 deletions

View file

@ -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