Skip to content

Commit 8b5c910

Browse files
committed
fixup! 765bef7
1 parent 61bc8ce commit 8b5c910

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

.github/workflows/rebase-shears.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ jobs:
3535
- name: Install Copilot CLI
3636
run: npm install -g @github/copilot
3737

38+
- name: Verify Copilot CLI works
39+
shell: bash
40+
run: |
41+
echo "Testing Copilot CLI authentication..."
42+
copilot -p "What is the current latest Git version according to git-scm.com?" \
43+
--allow-tool 'web_fetch'
44+
echo "Copilot CLI is working!"
45+
env:
46+
GH_TOKEN: ${{ github.token }}
47+
3848
- name: Checkout
3949
uses: actions/checkout@v4
4050
with:
@@ -57,19 +67,6 @@ jobs:
5767
git remote add upstream https://github.com/git/git.git || true
5868
git fetch upstream --no-tags
5969
60-
61-
- name: Verify Copilot CLI works
62-
shell: bash
63-
run: |
64-
echo "Testing Copilot CLI authentication..."
65-
copilot -p "What is the current latest Git version according to git-scm.com?" \
66-
--allow-tool 'web_fetch' \
67-
--json 2>&1 | head -50
68-
echo ""
69-
echo "Copilot CLI is working!"
70-
env:
71-
GH_TOKEN: ${{ github.token }}
72-
7370
- name: Run rebase (single branch)
7471
if: env.BRANCH != 'all'
7572
shell: bash

0 commit comments

Comments
 (0)