Skip to content

Commit 05cdab9

Browse files
joke1196sonartech
authored andcommitted
SONARPY-4003 Fix S7630 raise on orchestrator cache action (#1027)
GitOrigin-RevId: 1378d63ac646f9c7534e313a3d90b6d7e5dd122a
1 parent 92bd53c commit 05cdab9

File tree

1 file changed

+3
-1
lines changed
  • .github/actions/setup-orchestrator-cache

1 file changed

+3
-1
lines changed

.github/actions/setup-orchestrator-cache/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ runs:
1212
- name: Calculate orchestrator cache key
1313
id: set-paths
1414
shell: bash
15+
env:
16+
SQ_VERSION: ${{ inputs.sq-version }}
1517
run: |
1618
# Get current month for cache rotation
1719
CURRENT_MONTH=$(date +"%B")
1820
19-
CACHE_KEY="orchestrator-${{ github.workflow }}-${{ inputs.sq-version }}-${CURRENT_MONTH}"
21+
CACHE_KEY="orchestrator-${{ github.workflow }}-${SQ_VERSION}-${CURRENT_MONTH}"
2022
echo "cache-key=${CACHE_KEY}" >> $GITHUB_OUTPUT
2123
2224
- name: Setup orchestrator cache

0 commit comments

Comments
 (0)