Skip to content

Commit d276964

Browse files
committed
Include hidden files for git history analysis
1 parent 733704b commit d276964

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/internal-typescript-code-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
with:
107107
name: ${{ steps.set-sources-upload-name.outputs.sources-upload-name }}
108108
path: ./temp/${{ steps.set-analysis-name.outputs.analysis-name }}/source
109+
include-hidden-files: true
109110
if-no-files-found: error
110111
retention-days: 1
111112

.github/workflows/public-analyze-code-graph.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
The name of the sources uploaded with 'actions/upload-artifact'
2424
containing the content of the 'source' directory for the analysis.
2525
Also supports sub-folders for multiple source code bases.
26+
Please use 'include-hidden-files: true' if you also want to upload the git history.
2627
required: false
2728
type: string
2829
default: ''

INTEGRATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The workflow parameters are as follows:
3030
- **analysis-name**: The name of the project to analyze. Example: MyProject-1.0.0. This parameter is required and should be a string.
3131
- **artifacts-upload-name**: The name of the artifacts uploaded with [actions/upload-artifact](https://github.com/actions/upload-artifact/tree/65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08) containing the content of the 'artifacts' directory for the analysis. This is used to analyze Java JARs, WARs, EARs, etc. This parameter is optional and defaults to an empty string.
3232
- **sources-upload-name**: The name of the sources uploaded with [actions/upload-artifact](https://github.com/actions/upload-artifact/tree/65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08) containing the content of the 'source' directory for the analysis. It also supports sub-folders for multiple source code bases. This parameter is optional and defaults to an empty string.
33+
Please use 'include-hidden-files: true' if you also want to upload the git history.
3334
- **ref**: The branch, tag, or SHA of the code-graph-analysis-pipeline to checkout. This parameter is optional and defaults to "main".
3435
- **analysis-arguments**: The arguments to pass to the analysis script. This parameter is optional and defaults to '--profile Neo4jv5-low-memory'.
3536
- **typescript-scan-heap-memory**: The heap memory size in MB to use for the TypeScript code scans. This value is only used for the TypeScript code scans and is ignored for other scans. This parameter is optional and defaults to '4096'.

0 commit comments

Comments
 (0)