Skip to content

Commit d7437a2

Browse files
committed
Remove deprecated CODEQL_PASS_CONFIG_TO_CLI env var from PR checks
1 parent 67be7bc commit d7437a2

5 files changed

+0
-22
lines changed

.github/workflows/__config-export.yml

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-codescanning-config-inputs-js.yml

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/codescanning-config-cli.yml

-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
name: Code-Scanning config CLI tests
44
env:
55
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6-
CODEQL_PASS_CONFIG_TO_CLI: true
76

87
on:
98
push:
@@ -204,15 +203,3 @@ jobs:
204203
packs: + codeql/javascript-queries
205204
config-file-test: .github/codeql/other-config-properties.yml
206205
tools: ${{ steps.prepare-test.outputs.tools-url }}
207-
208-
- name: Config not generated when env var is not set
209-
if: success() || failure()
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 }}

pr-checks/checks/config-export.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: "Config export"
22
description: "Tests that the code scanning configuration file is exported to SARIF correctly."
33
versions: ["latest", "nightly-latest"]
4-
env:
5-
CODEQL_PASS_CONFIG_TO_CLI: true
64
steps:
75
- uses: ./../action/init
86
with:

pr-checks/checks/packaging-codescanning-config-inputs-js.yml

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: "Packaging: Config and input passed to the CLI"
22
description: "Checks that specifying packages using a combination of a config file and input to the Action works"
33
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
4-
5-
env:
6-
CODEQL_PASS_CONFIG_TO_CLI: true
7-
84
steps:
95
- uses: ./../action/init
106
with:

0 commit comments

Comments
 (0)