Skip to content

Commit ea50bff

Browse files
Potential fix for code scanning alert no. 492: Code injection
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 318070e commit ea50bff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests_hw_wokwi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,16 @@ jobs:
259259
260260
- name: Wait for GitLab sync
261261
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
262+
env:
263+
PUSH_TIME: ${{ needs.get-artifacts.outputs.push_time }}
262264
run: |
263265
# A webhook to sync the repository is sent to GitLab when a commit is pushed to GitHub
264266
# We wait for 10 minutes after the push to GitHub to be safe
265267
266268
echo "Ensuring GitLab sync has completed before triggering pipeline..."
267269
268270
# Use push time determined in get-artifacts job
269-
push_time="${{ needs.get-artifacts.outputs.push_time }}"
271+
push_time="$PUSH_TIME"
270272
271273
if [ -n "$push_time" ]; then
272274
echo "Push time: $push_time"

0 commit comments

Comments
 (0)