Remove deprecated CODEQL_PASS_CONFIG_TO_CLI env var from PR checks
This commit is contained in:
parent
67be7bc713
commit
d7437a2202
5 changed files with 0 additions and 22 deletions
1
.github/workflows/__config-export.yml
generated
vendored
1
.github/workflows/__config-export.yml
generated
vendored
|
|
@ -112,5 +112,4 @@ jobs:
|
||||||
}
|
}
|
||||||
core.info('Finished config export tests.');
|
core.info('Finished config export tests.');
|
||||||
env:
|
env:
|
||||||
CODEQL_PASS_CONFIG_TO_CLI: true
|
|
||||||
CODEQL_ACTION_TEST_MODE: true
|
CODEQL_ACTION_TEST_MODE: true
|
||||||
|
|
|
||||||
2
.github/workflows/__packaging-codescanning-config-inputs-js.yml
generated
vendored
2
.github/workflows/__packaging-codescanning-config-inputs-js.yml
generated
vendored
|
|
@ -113,6 +113,4 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
CODEQL_PASS_CONFIG_TO_CLI: true
|
|
||||||
|
|
||||||
CODEQL_ACTION_TEST_MODE: true
|
CODEQL_ACTION_TEST_MODE: true
|
||||||
|
|
|
||||||
13
.github/workflows/codescanning-config-cli.yml
vendored
13
.github/workflows/codescanning-config-cli.yml
vendored
|
|
@ -3,7 +3,6 @@
|
||||||
name: Code-Scanning config CLI tests
|
name: Code-Scanning config CLI tests
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CODEQL_PASS_CONFIG_TO_CLI: true
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -204,15 +203,3 @@ jobs:
|
||||||
packs: + codeql/javascript-queries
|
packs: + codeql/javascript-queries
|
||||||
config-file-test: .github/codeql/other-config-properties.yml
|
config-file-test: .github/codeql/other-config-properties.yml
|
||||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||||
|
|
||||||
- name: Config not generated when env var is not set
|
|
||||||
if: success() || failure()
|
|
||||||
env:
|
|
||||||
CODEQL_PASS_CONFIG_TO_CLI: false
|
|
||||||
uses: ./../action/.github/actions/check-codescanning-config
|
|
||||||
with:
|
|
||||||
expected-config-file-contents: ""
|
|
||||||
languages: javascript
|
|
||||||
packs: + codeql/javascript-queries
|
|
||||||
config-file-test: .github/codeql/other-config-properties.yml
|
|
||||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
name: "Config export"
|
name: "Config export"
|
||||||
description: "Tests that the code scanning configuration file is exported to SARIF correctly."
|
description: "Tests that the code scanning configuration file is exported to SARIF correctly."
|
||||||
versions: ["latest", "nightly-latest"]
|
versions: ["latest", "nightly-latest"]
|
||||||
env:
|
|
||||||
CODEQL_PASS_CONFIG_TO_CLI: true
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
name: "Packaging: Config and input passed to the CLI"
|
name: "Packaging: Config and input passed to the CLI"
|
||||||
description: "Checks that specifying packages using a combination of a config file and input to the Action works"
|
description: "Checks that specifying packages using a combination of a config file and input to the Action works"
|
||||||
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
|
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
|
||||||
|
|
||||||
env:
|
|
||||||
CODEQL_PASS_CONFIG_TO_CLI: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue