Skip to content

Commit a98b9bd

Browse files
authored
Merge pull request #1821 from github/henrymercer/pr-checks/improve-version-naming
PR checks: Rename `cached` to `default`
2 parents 2192e34 + 49e0fc2 commit a98b9bd

38 files changed

+75
-73
lines changed

.github/actions/prepare-test/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Prepare test"
22
description: Performs some preparation to run tests
33
inputs:
44
version:
5-
description: "The version of the CodeQL CLI to use. Can be 'latest', 'cached', 'nightly-latest', 'nightly-YYYY-MM-DD', or 'stable-YYYY-MM-DD'."
5+
description: "The version of the CodeQL CLI to use. Can be 'latest', 'default', 'nightly-latest', 'nightly-YYYY-MM-DD', or 'stable-YYYY-MM-DD'."
66
required: true
77
outputs:
88
tools-url:
@@ -46,7 +46,7 @@ runs:
4646
echo "tools-url=https://github.com/github/codeql-action/releases/download/codeql-bundle-$version/$artifact_name" >> $GITHUB_OUTPUT
4747
elif [[ ${{ inputs.version }} == "latest" ]]; then
4848
echo "tools-url=latest" >> $GITHUB_OUTPUT
49-
elif [[ ${{ inputs.version }} == "cached" ]]; then
49+
elif [[ ${{ inputs.version }} == "default" ]]; then
5050
echo "tools-url=" >> $GITHUB_OUTPUT
5151
else
5252
echo "::error::Unrecognized version specified!"

.github/workflows/__analyze-ref-input.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-custom-queries.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-autobuilder.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-custom-build-steps.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-legacy-workflow.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__init-with-registries.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__javascript-source-root.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__ml-powered-queries.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__multi-language-autodetect.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__remote-config.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__rubocop-multi-language.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__ruby.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__scaling-reserved-ram.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__split-workflow.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__submit-sarif-failure.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-custom-build.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__unset-environment.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__upload-ref-sha-input.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__with-checkout-path.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
- os: macos-latest
3131
version: latest
3232
- os: ubuntu-latest
33-
version: cached
33+
version: default
3434
- os: macos-latest
35-
version: cached
35+
version: default
3636
- os: ubuntu-latest
3737
version: nightly-latest
3838
- os: macos-latest

.github/workflows/debug-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- stable-20220908
3030
- stable-20221211
3131
- stable-20230418
32-
- cached
32+
- default
3333
- latest
3434
- nightly-latest
3535
name: Upload debug artifacts
@@ -74,7 +74,7 @@ jobs:
7474
- name: Check expected artifacts exist
7575
shell: bash
7676
run: |
77-
VERSIONS="stable-20220615 stable-20220908 stable-20221211 stable-20230418 cached latest nightly-latest"
77+
VERSIONS="stable-20220615 stable-20220908 stable-20221211 stable-20230418 default latest nightly-latest"
7878
LANGUAGES="cpp csharp go java javascript python"
7979
for version in $VERSIONS; do
8080
for os in ubuntu-latest macos-latest; do

pr-checks/checks/init-with-registries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: "Packaging: Download using registries"
66
description: "Checks that specifying a registries block and associated auth works as expected"
77
versions: [
88
# This feature is not compatible with older CLIs
9-
"cached",
9+
"default",
1010
"latest",
1111
"nightly-latest",
1212
]

pr-checks/checks/javascript-source-root.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Custom source root"
22
description: "Checks that the argument specifying a non-default source root works"
3-
versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs
3+
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
44
operatingSystems: ["ubuntu"]
55
steps:
66
- name: Move codeql-action

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +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"
3-
versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs
3+
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
44

55
env:
66
CODEQL_PASS_CONFIG_TO_CLI: true

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Packaging: Config and input"
22
description: "Checks that specifying packages using a combination of a config file and input to the Action works"
3-
versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs
3+
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
44
steps:
55
- uses: ./../action/init
66
with:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Packaging: Config file"
22
description: "Checks that specifying packages using only a config file works"
3-
versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs
3+
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
44
steps:
55
- uses: ./../action/init
66
with:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Packaging: Action input"
22
description: "Checks that specifying packages using the input to the Action works"
3-
versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs
3+
versions: ["latest", "default", "nightly-latest"] # This feature is not compatible with old CLIs
44
steps:
55
- uses: ./../action/init
66
with:

0 commit comments

Comments
 (0)