Fix duplicate env key in Install Copilot CLI step

Merge GITHUB_TOKEN into the single env block to fix the 'env is already
defined' validation error in GitHub Actions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Devraj Mehta
2026-03-10 20:55:51 -04:00
parent 5d0b3111f2
commit 9f29266402

View File

@@ -27,9 +27,8 @@ runs:
env:
VERSION: ${{ inputs.version }}
PREFIX: ${{ runner.tool_cache }}/copilot
run: curl -fsSL https://gh.io/copilot-install | bash
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
run: curl -fsSL https://gh.io/copilot-install | bash
- name: Add to PATH
shell: bash