From 9f292664026a523774cac9cbb30399e3f79936e8 Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Tue, 10 Mar 2026 20:55:51 -0400 Subject: [PATCH] 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> --- action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 1867cb5..8c8ad06 100644 --- a/action.yml +++ b/action.yml @@ -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