Skip to content

Commit 26a10f4

Browse files
authored
chore: GithubActions Sonarqube blockers (#1683)
* chore: GithubActions Sonarqube blockers * fix: Update action.yaml
1 parent a6ae35e commit 26a10f4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/actions/create-lines-of-code-report/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ runs:
1212
steps:
1313
- name: "Create CLOC report"
1414
shell: bash
15+
env:
16+
BUILD_DATETIME: ${{ inputs.build_datetime }}
1517
run: |
16-
export BUILD_DATETIME=${{ inputs.build_datetime }}
18+
export BUILD_DATETIME=$BUILD_DATETIME
1719
./scripts/reports/create-lines-of-code-report.sh
1820
- name: "Compress CLOC report"
1921
shell: bash

.github/actions/scan-dependencies/action.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ runs:
1212
steps:
1313
- name: "Generate SBOM"
1414
shell: bash
15+
env:
16+
BUILD_DATETIME: ${{ inputs.build_datetime }}
1517
run: |
16-
export BUILD_DATETIME=${{ inputs.build_datetime }}
18+
export BUILD_DATETIME=$BUILD_DATETIME
1719
./scripts/reports/create-sbom-report.sh
1820
- name: "Compress SBOM report"
1921
shell: bash
@@ -27,8 +29,10 @@ runs:
2729
retention-days: 21
2830
- name: "Scan vulnerabilities"
2931
shell: bash
32+
env:
33+
BUILD_DATETIME: ${{ inputs.build_datetime }}
3034
run: |
31-
export BUILD_DATETIME=${{ inputs.build_datetime }}
35+
export BUILD_DATETIME=$BUILD_DATETIME
3236
./scripts/reports/scan-vulnerabilities.sh
3337
- name: "Display vulnerabilities summary"
3438
shell: bash

0 commit comments

Comments
 (0)