Skip to content

Commit 23143b3

Browse files
committed
Add current branch or version also to workflow ref parameter
1 parent 84f5452 commit 23143b3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
analysis-name: ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
122122
artifacts-upload-name: ${{ needs.prepare-code-to-analyze.outputs.artifacts-upload-name }}
123123
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
124-
ref: 7f43cf96d676f715cf278b020ce1dbb3338f900b
124+
ref: 7f43cf96d676f715cf278b020ce1dbb3338f900b # main
125125

126126

127127
commit-analysis-results:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
with:
9494
analysis-name: ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
9595
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
96-
ref: 7f43cf96d676f715cf278b020ce1dbb3338f900b
96+
ref: 7f43cf96d676f715cf278b020ce1dbb3338f900b # main
9797

9898

9999
commit-analysis-results:

renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@
9797
"matchStringsStrategy": "combination",
9898
"matchStrings": [
9999
"uses: JohT/code-graph-analysis-pipeline/\\.github/workflows/public-analyze-code-graph\\.yml*\\s*",
100-
"ref:\\s*(?<currentDigest>.*?)\\s"
100+
"ref:\\s*(?<currentDigest>.*?)\\s+#\\s+(?<currentValue>.*?)\\s+"
101101
],
102+
102103
"packageNameTemplate": "https://github.com/JohT/code-graph-analysis-pipeline",
103-
"currentValueTemplate": "main",
104104
"datasourceTemplate": "git-refs"
105105
}
106106
]

0 commit comments

Comments
 (0)