Skip to content

Commit b734949

Browse files
authored
[PM-28029] Address SonarCloud and zizmor errors (#2124)
1 parent 8ce5d66 commit b734949

File tree

4 files changed

+1
-100
lines changed

4 files changed

+1
-100
lines changed

.github/actions/dispatch-and-download/action.yml

Lines changed: 0 additions & 97 deletions
This file was deleted.

.github/workflows/_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
109109
latest_tag_version=$(git tag -l --sort=-creatordate | grep "$APP_CODENAME" | head -n 1)
110110
if [[ -z "$latest_tag_version" ]]; then
111-
version_name="${current_year}.${current_month}.${_PATCH_VERSION}"
111+
version_name="${current_year}.${current_month}.${_PATCH_VERSION:-0}"
112112
echo "::warning::No tags found, did you checkout? Calculating version from current date: $version_name"
113113
output "$version_name"
114114
exit 0

.github/workflows/ci-bwa.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
version_name: ${{ inputs.version-name }}
5959
version_number: ${{ inputs.version-number }}
6060
patch_version: ${{ inputs.patch_version && '999' || '' }}
61-
secrets: inherit
6261

6362
build-manual:
6463
name: Build Manual - ${{ inputs.build-mode }}

.github/workflows/ci-bwpm.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ jobs:
6161
version_name: ${{ inputs.version-name }}
6262
version_number: ${{ inputs.version-number }}
6363
patch_version: ${{ inputs.patch_version && '999' || '' }}
64-
secrets: inherit
6564

6665
build-manual:
6766
name: Build Manual - ${{ inputs.build-variant }} (${{ inputs.build-mode }})

0 commit comments

Comments
 (0)