Skip to content

Commit 95112b0

Browse files
sawenzelclaude
andcommitted
Set JALIEN_USER so the tests need no GRID credential
This stops the workflow-creation tests from opening a JAliEn session. - o2dpg_sim_workflow.py calls JAlien(['whoami']) only to fill the AOD --created-by field, and only when JALIEN_USER is unset. - Setting it avoids putting a GRID certificate on a runner whose account also executes pull-request code. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 37dcb98 commit 95112b0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/sim-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ jobs:
125125
O2DPG_TEST_HASH_BASE: ${{ steps.base.outputs.sha }}
126126
O2DPG_TEST_HASH_HEAD: ${{ github.event.pull_request.head.sha }}
127127
JOBS: 8
128+
# o2dpg_sim_workflow.py calls JAlien(['whoami']) purely to fill the
129+
# AOD's --created-by field, and only when JALIEN_USER is unset. Setting
130+
# it keeps the tests from needing a GRID credential at all, which
131+
# matters here: anything readable by this account is readable by the
132+
# fork-pull-request code that runs as it.
133+
JALIEN_USER: alien-ci
128134
run: |
129135
set -eu
130136
# Everything after "-c" is joined into one string and re-evaluated

0 commit comments

Comments
 (0)