Skip to content

Commit 8516954

Browse files
authored
Merge pull request #2062 from github/henrymercer/remove-action-config-parsing
Remove config parsing logic that is now implemented in the CLI
2 parents 08ae9bf + a533ec6 commit 8516954

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+472
-6046
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 }}

lib/analysis-paths.js

-84
This file was deleted.

lib/analysis-paths.js.map

-1
This file was deleted.

lib/analysis-paths.test.js

-124
This file was deleted.

lib/analysis-paths.test.js.map

-1
This file was deleted.

0 commit comments

Comments
 (0)