Skip to content

Commit ca02521

Browse files
ralyodioclaude
andcommitted
fix(ci): merge second duplicate env: in Submit to Chocolatey step
Same shape as the prior commit — the Chocolatey step had a second env: key (GITHUB_TOKEN + CHOCOLATEY_API_KEY) below run:, which YAML parses as a duplicate-key mapping and GitHub Actions rejects with the generic "workflow file issue" status. Collapsed both env blocks into one above run:. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 882ec62 commit ca02521

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/submit-packages.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ jobs:
199199
env:
200200
VERSION: ${{ steps.version.outputs.version }}
201201
DRY_RUN: ${{ github.event.inputs.dry_run }}
202+
GITHUB_TOKEN: ${{ secrets.PKG_SUBMIT_TOKEN || secrets.GITHUB_TOKEN }}
203+
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
202204
run: |
203205
ARGS="-v $VERSION -p chocolatey"
204206
@@ -207,9 +209,6 @@ jobs:
207209
fi
208210
209211
npx tsx scripts/submit-packages.ts $ARGS
210-
env:
211-
GITHUB_TOKEN: ${{ secrets.PKG_SUBMIT_TOKEN || secrets.GITHUB_TOKEN }}
212-
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
213212
214213
- name: Summary
215214
if: always()

0 commit comments

Comments
 (0)