Skip to content

Commit dbb1d83

Browse files
committed
test
Signed-off-by: Charlie Truong <[email protected]>
1 parent 9a3558c commit dbb1d83

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/azure-queue-events.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ jobs:
100100
pip install azure-storage-queue azure-identity requests
101101
102102
- name: Read Events
103+
env:
104+
WORKER_ID: ${{ matrix.worker }}
105+
JOB_ID: ${{ github.job }}
106+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103107
run: |
104108
python - <<EOF
105109
import os
@@ -118,7 +122,7 @@ jobs:
118122
119123
# Get current run ID and job ID
120124
run_id = os.environ.get('GITHUB_RUN_ID')
121-
current_job_id = os.environ.get('GITHUB_JOB_ID')
125+
current_job_id = os.environ['JOB_ID']
122126
123127
headers = {
124128
'Authorization': f'token {token}',
@@ -205,9 +209,6 @@ jobs:
205209
206210
print(f"Worker {worker_id}: Finished processing all messages")
207211
EOF
208-
env:
209-
WORKER_ID: ${{ matrix.worker }}
210-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
211212
212213
cleanup-queue:
213214
needs: read-events

0 commit comments

Comments
 (0)