Skip to content

Commit d99dd36

Browse files
authored
Merge pull request #307 from JohT/feature/fix-renaming-issues-and-missing-hidden-files
Fix renaming issues and missing hidden files
2 parents 9d65b74 + bd5675d commit d99dd36

13 files changed

+40
-26
lines changed

.github/workflows/internal-check-links-in-documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- 'COMMANDS.md'
1111
- 'GETTING_STARTED.md'
1212
- 'INTEGRATION.md'
13-
- '.github/workflows/check-links-in-documentation.yml' # also run when this file was changed
13+
- '.github/workflows/internal-check-links-in-documentation.yml' # also run when this file was changed
1414
schedule:
1515
- cron: "15 6 1 * *" # On the first day of each month at 6:15 o'clock
1616

.github/workflows/internal-check-renovate-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
# Only watch root level Renovate configuration changes
88
paths:
99
- 'renovate.json*'
10+
- '.github/workflows/internal-check-renovate-config.yml' # or when this file changed
1011

1112
jobs:
1213
reports:

.github/workflows/internal-cypher-reference-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- main
77
paths:
88
- '**/*.cypher' # Only run when cypher files changed
9-
- '.github/workflows/cypher-reference-documentation.yml' # or when this file was changed
9+
- '.github/workflows/internal-cypher-reference-documentation.yml' # or when this file was changed
1010
pull_request:
1111
branches:
1212
- main
1313
paths:
1414
- '**/*.cypher' # Only run when cypher files changed
15-
- '.github/workflows/cypher-reference-documentation.yml' # or when this file was changed
15+
- '.github/workflows/internal-cypher-reference-documentation.yml' # or when this file was changed
1616

1717
jobs:
1818
reports:

.github/workflows/internal-environment-variables-reference-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- main
77
paths:
88
- '**/*.sh' # Only run when script files changed
9-
- '.github/workflows/environment-variables-reference-documentation.yml' # or when this file was changed
9+
- '.github/workflows/environment-internal-variables-reference-documentation.yml' # or when this file was changed
1010
pull_request:
1111
branches:
1212
- main
1313
paths:
1414
- '**/*.sh' # Only run when script files changed
15-
- '.github/workflows/environment-variables-reference-documentation.yml' # or when this file was changed
15+
- '.github/workflows/environment-internal-variables-reference-documentation.yml' # or when this file was changed
1616

1717
jobs:
1818
reports:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- 'renovate.json'
1818
- 'changelogTemplate.mustache'
1919
- '**.code-workspace'
20-
- '.github/workflows/typescript-code-analysis.yml'
20+
- '.github/workflows/internal-typescript-code-analysis.yml'
2121
- '.github/workflows/*documentation.yml'
2222
pull_request:
2323
branches:
@@ -35,7 +35,7 @@ on:
3535
- 'renovate.json'
3636
- 'changelogTemplate.mustache'
3737
- '**.code-workspace'
38-
- '.github/workflows/typescript-code-analysis.yml'
38+
- '.github/workflows/internal-typescript-code-analysis.yml'
3939
- '.github/workflows/*documentation.yml'
4040

4141
# Requires the secret NEO4J_INITIAL_PASSWORD to be configured

.github/workflows/internal-report-reference-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
paths:
88
- 'results/**' # Only run results have been updates
99
- '!results/*.md' # Ignore when report reference documentation itself changes
10-
- '.github/workflows/report-reference-documentation.yml' # or when this file was changed
10+
- '.github/workflows/internal-report-reference-documentation.yml' # or when this file was changed
1111
pull_request:
1212
branches:
1313
- main
1414
paths:
1515
- 'results/**' # Only run results have been updates
1616
- '!results/*.md' # Ignore when report reference documentation itself changes
17-
- '.github/workflows/report-reference-documentation.yml' # or when this file was changed
17+
- '.github/workflows/internal-report-reference-documentation.yml' # or when this file was changed
1818

1919
jobs:
2020
reports:

.github/workflows/internal-scripts-reference-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- main
77
paths:
88
- '**/*.sh' # Only run when script files changed
9-
- '.github/workflows/scripts-reference-documentation.yml' # or when this file was changed
9+
- '.github/workflows/internal-scripts-reference-documentation.yml' # or when this file was changed
1010
pull_request:
1111
branches:
1212
- main
1313
paths:
1414
- '**/*.sh' # Only run when script files changed
15-
- '.github/workflows/scripts-reference-documentation.yml' # or when this file was changed
15+
- '.github/workflows/internal-scripts-reference-documentation.yml' # or when this file was changed
1616

1717
jobs:
1818
reports:

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- 'renovate.json'
1818
- 'changelogTemplate.mustache'
1919
- '**.code-workspace'
20-
- '.github/workflows/java-code-analysis.yml'
20+
- '.github/workflows/internal-java-code-analysis.yml'
2121
- '.github/workflows/*documentation.yml'
2222
pull_request:
2323
branches:
@@ -35,7 +35,7 @@ on:
3535
- 'renovate.json'
3636
- 'changelogTemplate.mustache'
3737
- '**.code-workspace'
38-
- '.github/workflows/java-code-analysis.yml'
38+
- '.github/workflows/internal-java-code-analysis.yml'
3939
- '.github/workflows/*documentation.yml'
4040

4141
jobs:
@@ -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: 12 additions & 1 deletion
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: ''
@@ -70,7 +71,11 @@ jobs:
7071
- name: Assure that either artifacts-upload-name or sources-upload-name is set
7172
if: inputs.artifacts-upload-name == '' && inputs.sources-upload-name == ''
7273
run: echo "Please specify either the input parameter 'artifacts-upload-name' or 'sources-upload-name'."; exit 1
73-
74+
75+
- name: (Debug) Log all variables
76+
if: runner.debug == '1'
77+
run: echo "DEBUG log all variables -> $GITHUB_CONTEXT"
78+
7479
- name: Checkout code-graph-analysis-pipeline
7580
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7681
with:
@@ -142,6 +147,12 @@ jobs:
142147
name: ${{ inputs.artifacts-upload-name }}
143148
path: temp/${{ inputs.analysis-name }}/artifacts
144149

150+
- name: (Debug) Log folder structure of temp directory
151+
if: runner.debug == '1'
152+
working-directory: temp
153+
run: |
154+
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
155+
145156
- name: (Code Analysis) Analyze ${{ inputs.analysis-name }}
146157
working-directory: temp/${{ inputs.analysis-name }}
147158
# Shell type can be skipped if jupyter notebook analysis-results (and therefore conda) aren't needed

COMMANDS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To run all analysis steps simple execute the following command:
6262

6363
👉 See [scripts/examples/analyzeAxonFramework.sh](./scripts/examples/analyzeAxonFramework.sh) as an example script that combines all the above steps for a Java Project.
6464
👉 See [scripts/examples/analyzeReactRouter.sh](./scripts/examples/analyzeReactRouter.sh) as an example script that combines all the above steps for a Typescript Project.
65-
👉 See [Code Structure Analysis Pipeline](./.github/workflows/java-code-analysis.yml) on how to do this within a GitHub Actions Workflow.
65+
👉 See [Code Structure Analysis Pipeline](./.github/workflows/internal-java-code-analysis.yml) on how to do this within a GitHub Actions Workflow.
6666

6767
### Command Line Options
6868

@@ -152,7 +152,7 @@ Change into the [scripts](./scripts/) directory e.g. with `cd scripts` and then
152152
Change into the [results](./results/) directory e.g. with `cd results` and then execute the script [generateCsvReportReference.sh](./scripts/documentation/generateCsvReportReference.sh) with the following command:
153153

154154
👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
155-
which is included in the pipeline [java-code-analysis.yml](.github/workflows/java-code-analysis.yml) and doesn't need to be executed manually normally.
155+
which is included in the pipeline [internal-java-code-analysis.yml](.github/workflows/internal-java-code-analysis.yml) and doesn't need to be executed manually normally.
156156

157157
```script
158158
./../scripts/documentation/generateCsvReportReference.sh
@@ -163,7 +163,7 @@ which is included in the pipeline [java-code-analysis.yml](.github/workflows/jav
163163
Change into the [results](./results/) directory e.g. with `cd results` and then execute the script [generateJupyterReportReference.sh](./scripts/documentation/generateJupyterReportReference.sh) with the following command:
164164

165165
👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
166-
which is included in the pipeline [java-code-analysis.yml](.github/workflows/java-code-analysis.yml) and doesn't need to be executed manually normally.
166+
which is included in the pipeline [internal-java-code-analysis.yml](.github/workflows/internal-java-code-analysis.yml) and doesn't need to be executed manually normally.
167167

168168
```script
169169
./../scripts/documentation/generateJupyterReportReference.sh
@@ -174,7 +174,7 @@ which is included in the pipeline [java-code-analysis.yml](.github/workflows/jav
174174
Change into the [results](./results/) directory e.g. with `cd results` and then execute the script [generateImageReference.sh](./scripts/documentation/generateImageReference.sh) with the following command:
175175

176176
👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
177-
which is included in the pipeline [java-code-analysis.yml](.github/workflows/java-code-analysis.yml) and doesn't need to be executed manually normally.
177+
which is included in the pipeline [internal-java-code-analysis.yml](.github/workflows/internal-java-code-analysis.yml) and doesn't need to be executed manually normally.
178178

179179
```script
180180
./../scripts/documentation/generateImageReference.sh

0 commit comments

Comments
 (0)