Merge branch 'main' into folder_category

This commit is contained in:
Anurag Chauhan
2022-02-15 10:59:57 +05:30
committed by GitHub
3 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ on:
push:
branches: [ $default-branch, $protected-branches ]
pull_request:
branches: [ $default-branch ]
branches: [ $default-branch ]
schedule:
- cron: $cron-weekly
@@ -23,13 +23,13 @@ jobs:
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Run PMD
id: pmd
uses: pmd/pmd-github-action@6d98898be0d59f46ec37dafcea33d8f8f55acfd1
uses: pmd/pmd-github-action@967a81f8b657c87f7c3e96b62301cb1a48efef29
with:
rulesets: 'rulesets/java/quickstart.xml'
sourcePath: 'src/main/java'
analyzeModifiedFilesOnly: false
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
@@ -3,7 +3,6 @@
"creator": "Detekt",
"description": "Static code analysis for Kotlin",
"iconName": "detekt",
"categories": ["Code Scanning", "Kotlin"]
"categories": ["Code Scanning", "Kotlin"],
"enterprise": false
}
+3
View File
@@ -21,6 +21,8 @@ interface WorkflowProperties {
categories: string[] | null;
creator?: string;
enterprise?: boolean;
}
interface WorkflowsCheckResult {
@@ -59,6 +61,7 @@ async function checkWorkflows(
const enabled =
!isPartnerWorkflow &&
workflowProperties.enterprise !== false &&
(await checkWorkflow(workflowFilePath, enabledActions));
const workflowDesc: WorkflowDesc = {