@@ -3,7 +3,6 @@ |
|
|
3 |
3 |
name: Code-Scanning config CLI tests |
4 |
4 |
env: |
5 |
5 |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
6 |
|
-CODEQL_PASS_CONFIG_TO_CLI: true |
7 |
6 |
|
8 |
7 |
on: |
9 |
8 |
push: |
@@ -204,15 +203,3 @@ jobs: |
|
|
204 |
203 |
packs: + codeql/javascript-queries |
205 |
204 |
config-file-test: .github/codeql/other-config-properties.yml |
206 |
205 |
tools: ${{ steps.prepare-test.outputs.tools-url }} |
207 |
|
- |
208 |
|
- - name: Config not generated when env var is not set |
209 |
|
-if: success() | |
210 |
|
-env: |
211 |
|
-CODEQL_PASS_CONFIG_TO_CLI: false |
212 |
|
-uses: ./../action/.github/actions/check-codescanning-config |
213 |
|
-with: |
214 |
|
-expected-config-file-contents: "" |
215 |
|
-languages: javascript |
216 |
|
-packs: + codeql/javascript-queries |
217 |
|
-config-file-test: .github/codeql/other-config-properties.yml |
218 |
|
-tools: ${{ steps.prepare-test.outputs.tools-url }} |