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:
Sampark Sharma
2022-09-22 17:05:04 +05:30
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -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"]
+1 -1
View File
@@ -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 = {