Comment out github actions extension and github cli components
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
@@ -176,33 +176,33 @@ export class ComponentsManager {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const githubActionsInfo = await this.getExtensionInfo('github.vscode-github-actions');
|
// const githubActionsInfo = await this.getExtensionInfo('github.vscode-github-actions');
|
||||||
components.push({
|
// components.push({
|
||||||
name: 'GitHub Actions Extension',
|
// name: 'GitHub Actions Extension',
|
||||||
icon: 'extensions',
|
// icon: 'extensions',
|
||||||
version: githubActionsInfo.version,
|
// version: githubActionsInfo.version,
|
||||||
status: githubActionsInfo.status,
|
// status: githubActionsInfo.status,
|
||||||
required: false,
|
// required: false,
|
||||||
information: 'https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions',
|
// information: 'https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions',
|
||||||
installation: async () => {
|
// installation: async () => {
|
||||||
await env.openExternal(Uri.parse('https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions'));
|
// await env.openExternal(Uri.parse('https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions'));
|
||||||
},
|
// },
|
||||||
message: 'GitHub Actions extension is not required, but is recommended to take advantage of workflow editor features.'
|
// message: 'GitHub Actions extension is not required, but is recommended to take advantage of workflow editor features.'
|
||||||
});
|
// });
|
||||||
|
|
||||||
const githubCliInfo = await this.getCliInfo('gh', /gh version (.+)/, false, false);
|
// const githubCliInfo = await this.getCliInfo('gh', /gh version (.+)/, false, false);
|
||||||
components.push({
|
// components.push({
|
||||||
name: 'GitHub CLI',
|
// name: 'GitHub CLI',
|
||||||
icon: 'terminal',
|
// icon: 'terminal',
|
||||||
version: githubCliInfo.version,
|
// version: githubCliInfo.version,
|
||||||
status: githubCliInfo.status,
|
// status: githubCliInfo.status,
|
||||||
required: false,
|
// required: false,
|
||||||
information: 'https://cli.github.com',
|
// information: 'https://cli.github.com',
|
||||||
installation: async () => {
|
// installation: async () => {
|
||||||
await env.openExternal(Uri.parse('https://cli.github.com'));
|
// await env.openExternal(Uri.parse('https://cli.github.com'));
|
||||||
},
|
// },
|
||||||
message: 'GitHub CLI is not required, but is recommended if you plan to use it to retrieve GitHub tokens.'
|
// message: 'GitHub CLI is not required, but is recommended if you plan to use it to retrieve GitHub tokens.'
|
||||||
});
|
// });
|
||||||
|
|
||||||
return components;
|
return components;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user