-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #412, git error in CodeQL Analyze Action
Fixes errors in CodeQL results uploads step. Update parameters in CodeWL "reusable" workflow. BREAKING Interface changes: - Adds new component-path input parameter - Repurpose tests input to be a boolean tied to "ENABLE_UNIT_TESTS" flag Internal changes: - Use git clone instead of checkout@v2 for the cFS-Bundle - Use symlink to map calling repo workspace to expected cFS Bundle directory location - Enable "code snippets" option to CodeQL Analyze action - Archives sarif files from analysis output - Removes code duplication by using a matrix build for security and coding standard analyses - Alphabetizes workflow inputs and order based on "required" flag
- Loading branch information
Showing
2 changed files
with
90 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
name: Reuse CodeQl Analysis | ||
name: "CodeQl Analysis: cFS-Bundle" | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '**/*.md' | ||
- '**/*.txt' | ||
- '**/*.dox' | ||
|
||
pull_request: | ||
paths-ignore: | ||
- '**/*.md' | ||
- '**/*.txt' | ||
- '**/*.dox' | ||
|
||
jobs: | ||
codeql: | ||
name: CodeQL Analysis | ||
uses: nasa/cFS/.github/workflows/codeql-build.yml@main | ||
uses: astrogeco/cFS/.github/actions/codeql.yml@fix-codeql-workflow | ||
with: | ||
make: make -j8 | ||
test: true |