Skip to content

Commit 097f1d7

Browse files
committed
Fix: Ensure SECURE_API_TOKEN is injected properly
1 parent bdf3d29 commit 097f1d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
docker build -t result ./result
2525
2626
- name: 🔍 DEBUG: Check if SECURE_API_TOKEN is available
27+
env:
28+
SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }}
2729
run: |
2830
echo "🔍 Token Length: ${#SECURE_API_TOKEN}"
2931
echo "🔍 Token Head: ${SECURE_API_TOKEN::5}"
@@ -33,8 +35,6 @@ jobs:
3335
else
3436
echo "✅ SECURE_API_TOKEN is available."
3537
fi
36-
env:
37-
SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }}
3838
3939
- name: 🔍 Run Sysdig Scan (voting-app)
4040
run: |

0 commit comments

Comments
 (0)