Skip to content

Commit d509d38

Browse files
dkirov-ddclaude
andauthored
fix(release): drop arithmetic from dispatch job name (DataDog#23541)
GitHub Actions expressions don't support arithmetic operators, so `strategy.job-index + 1` made the workflow file invalid. Use the 0-indexed `strategy.job-index` directly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 18c80aa commit d509d38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: python .github/workflows/scripts/release_dispatch.py
9393

9494
dispatch:
95-
name: Dispatch wheel builds (batch ${{ strategy.job-index + 1 }})
95+
name: Dispatch wheel builds (batch ${{ strategy.job-index }})
9696
needs: prepare
9797
if: needs.prepare.outputs.has_packages == 'true' && !inputs.dry-run
9898
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)