Skip to content

Commit 621e2e7

Browse files
committed
Fix: Ensure SECURE_API_TOKEN is injected properly
1 parent 6612d2c commit 621e2e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/scan.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
docker build -t worker ./worker
2424
docker build -t result ./result
2525
26-
- name: Debug
26+
- name: Debug: Check if SECURE_API_TOKEN is available
2727
env:
28-
SECURE_API_TOKEN: "${{ secrets.SECURE_API_TOKEN }}"
28+
SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }}
2929
run: |
3030
echo "🔍 Token Length: ${#SECURE_API_TOKEN}"
3131
echo "🔍 Token Head: ${SECURE_API_TOKEN:0:5}"
@@ -34,6 +34,7 @@ jobs:
3434
exit 1
3535
else
3636
echo "✅ SECURE_API_TOKEN is available."
37+
fi
3738
3839
- name: Run Sysdig Scan (voting-app)
3940
run: |

0 commit comments

Comments
 (0)