Skip to content

Commit 04c1e60

Browse files
committed
Add defaultTestVersions constant
1 parent 2f77cd0 commit 04c1e60

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

pr-checks/sync.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,30 @@ interface Specification {
5555
collection?: string;
5656
}
5757

58+
// The default set of CodeQL Bundle versions to use for the PR checks.
59+
const defaultTestVersions = [
60+
// The oldest supported CodeQL version. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts`
61+
"stable-v2.17.6",
62+
// The last CodeQL release in the 2.18 series.
63+
"stable-v2.18.4",
64+
// The last CodeQL release in the 2.19 series.
65+
"stable-v2.19.4",
66+
// The last CodeQL release in the 2.20 series.
67+
"stable-v2.20.7",
68+
// The last CodeQL release in the 2.21 series.
69+
"stable-v2.21.4",
70+
// The last CodeQL release in the 2.22 series.
71+
"stable-v2.22.4",
72+
// The default version of CodeQL for Dotcom, as determined by feature flags.
73+
"default",
74+
// The version of CodeQL shipped with the Action in `defaults.json`. During the release process
75+
// for a new CodeQL release, there will be a period of time during which this will be newer than
76+
// the default version on Dotcom.
77+
"linked",
78+
// A nightly build directly from the our private repo, built in the last 24 hours.
79+
"nightly-latest",
80+
];
81+
5882
const THIS_DIR = __dirname;
5983
const CHECKS_DIR = path.join(THIS_DIR, "checks");
6084
const OUTPUT_DIR = path.join(THIS_DIR, "new-output");

0 commit comments

Comments
 (0)