Skip to content

Commit 750bd12

Browse files
fix: add CF_API_KEY environment variable to CI smoke tests
- Added CF_API_KEY=test-key to Import smoke test step - Added CF_API_KEY=test-key to Basic functionality test step - Fixes CI security job failure due to missing environment variable
1 parent 8ae73b0 commit 750bd12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ jobs:
120120
fi
121121
echo "::endgroup::"
122122
- name: Import smoke test
123+
env:
124+
CF_API_KEY: test-key # pragma: allowlist secret
123125
run: |
124126
python - << 'PY'
125127
import importlib
@@ -130,6 +132,8 @@ jobs:
130132
print('Import smoke test: OK')
131133
PY
132134
- name: Basic functionality test
135+
env:
136+
CF_API_KEY: test-key # pragma: allowlist secret
133137
run: |
134138
python - << 'PY'
135139
import sys

0 commit comments

Comments
 (0)