Include CodeQL CLI and action versions in status reports
This commit is contained in:
parent
d0ee2b4276
commit
f60bb5cc38
12 changed files with 124 additions and 17 deletions
4
lib/api-client.js
generated
4
lib/api-client.js
generated
|
|
@ -81,8 +81,8 @@ let cachedGitHubVersion = undefined;
|
|||
* @returns GitHub version
|
||||
*/
|
||||
async function getGitHubVersionActionsOnly() {
|
||||
if (!util.isActions) {
|
||||
throw new Error("This getGitHubVersion() function works only in an action");
|
||||
if (!util.isActions()) {
|
||||
throw new Error("getGitHubVersionActionsOnly() works only in an action");
|
||||
}
|
||||
if (cachedGitHubVersion === undefined) {
|
||||
cachedGitHubVersion = await util.getGitHubVersion(getApiDetails());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue