Skip to content

Commit d75d72a

Browse files
authored
fix: use unique MPE ID per E2E run
Replace static migTEST0000001 with mig${github.run_id} so each workflow run creates uniquely named resources. Prevents 'already exists' errors when runs overlap or teardown is incomplete.
1 parent 4bb2484 commit d75d72a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ defaults:
1919

2020
env:
2121
PR_NUMBER: ${{ github.event.pull_request.number }}
22-
# MPE_ID drives the expected tag value. Stored as a secret so the real
23-
# test MPE is not hard-coded here; falls back to migTEST0000001 for forks.
24-
MPE_ID: ${{ secrets.TEST_MPE_ID || 'migTEST0000001' }}
22+
# MPE_ID drives the expected tag value. Uses the unique run ID so every
23+
# workflow run gets its own resource names — no collisions between
24+
# concurrent or overlapping runs.
25+
MPE_ID: mig${{ github.run_id }}
2526
STACK_NAME: map-auto-tagger-e2e-pr${{ github.event.pull_request.number }}
2627

2728
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)