Merge pull request #1759 from simon-engledew/simon-engledew/flip-workflow-check
Make enterprise opt-in instead of opt-out
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "CodeQL Analysis",
|
"name": "CodeQL Analysis",
|
||||||
"creator": "GitHub",
|
"creator": "GitHub",
|
||||||
|
"enterprise": true,
|
||||||
"description": "Security analysis from GitHub for C, C++, C#, Go, Java, JavaScript, TypeScript, Python, and Ruby developers.",
|
"description": "Security analysis from GitHub for C, C++, C#, Go, Java, JavaScript, TypeScript, Python, and Ruby developers.",
|
||||||
"iconName": "octicon mark-github",
|
"iconName": "octicon mark-github",
|
||||||
"categories": ["Code Scanning", "C", "C++", "C#", "Go", "Java", "JavaScript", "TypeScript", "Python", "Ruby"]
|
"categories": ["Code Scanning", "C", "C++", "C#", "Go", "Java", "JavaScript", "TypeScript", "Python", "Ruby"]
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ async function checkWorkflows(
|
|||||||
|
|
||||||
const enabled =
|
const enabled =
|
||||||
!isPartnerWorkflow &&
|
!isPartnerWorkflow &&
|
||||||
workflowProperties.enterprise !== false &&
|
(workflowProperties.enterprise === true || folder !== 'code-scanning') &&
|
||||||
(await checkWorkflow(workflowFilePath, enabledActions));
|
(await checkWorkflow(workflowFilePath, enabledActions));
|
||||||
|
|
||||||
const workflowDesc: WorkflowDesc = {
|
const workflowDesc: WorkflowDesc = {
|
||||||
|
|||||||
Reference in New Issue
Block a user