File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
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
You can’t perform that action at this time.
0 commit comments