Expand note about defaults.json compatibility

In the future we might convert the file to JSON with comments, or add
this note to a JSON schema.
This commit is contained in:
Henry Mercer 2023-01-12 15:46:12 +00:00
parent 1eeb9df353
commit a89ad76881
12 changed files with 18 additions and 12 deletions

5
lib/setup-codeql.js generated
View file

@ -31,7 +31,10 @@ const semver = __importStar(require("semver"));
const uuid_1 = require("uuid");
const actions_util_1 = require("./actions-util");
const api = __importStar(require("./api-client"));
const defaults = __importStar(require("./defaults.json")); // Referenced from codeql-action-sync-tool!
// Note: defaults.json is referenced from the CodeQL Action sync tool and the Actions runner image
// creation scripts. Ensure that any changes to the format of this file are compatible with both of
// these dependents.
const defaults = __importStar(require("./defaults.json"));
const util = __importStar(require("./util"));
const util_1 = require("./util");
exports.CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action";