From 5d0b3111f2722d2731d6ba3e93c1e121691967c2 Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Tue, 10 Mar 2026 20:55:09 -0400 Subject: [PATCH 1/2] Update README to use @v0 version tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v1 tag doesn't exist yet — use v0 to match the current 0.x.x release series. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2b79fdd..24c5635 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A GitHub Action to install the [GitHub Copilot CLI](https://github.com/github/co ```yaml steps: - - uses: actions/setup-copilot@v1 + - uses: actions/setup-copilot@v0 with: version: "latest" # optional, defaults to "latest" github-token: ${{ secrets.COPILOT_TOKEN }} # optional, defaults to github.token @@ -31,13 +31,13 @@ steps: ### Install latest version ```yaml -- uses: actions/setup-copilot@v1 +- uses: actions/setup-copilot@v0 ``` ### Install a specific version ```yaml -- uses: actions/setup-copilot@v1 +- uses: actions/setup-copilot@v0 with: version: "1.2.3" ``` @@ -45,7 +45,7 @@ steps: ### Use with a custom token ```yaml -- uses: actions/setup-copilot@v1 +- uses: actions/setup-copilot@v0 with: github-token: ${{ secrets.GH_TOKEN }} ``` From 9f292664026a523774cac9cbb30399e3f79936e8 Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Tue, 10 Mar 2026 20:55:51 -0400 Subject: [PATCH 2/2] 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