Skip to content

Commit 0aaf535

Browse files
heiskrCopilot
andauthored
Install Copilot CLI before ai-inference copilot provider step (#61732)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1120541 commit 0aaf535

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/changelog-agent.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,16 @@ jobs:
404404
fs.writeFileSync('prompt.txt', userPrompt);
405405
core.setOutput('date_str', dateStr);
406406
407+
- name: Set up Node.js for Copilot CLI
408+
if: steps.check_parent.outputs.has_parent == 'true' && steps.check_existing.outputs.exists == 'false'
409+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
410+
with:
411+
node-version: 24
412+
413+
- name: Install GitHub Copilot CLI
414+
if: steps.check_parent.outputs.has_parent == 'true' && steps.check_existing.outputs.exists == 'false'
415+
run: npm install -g @github/copilot
416+
407417
- name: Generate changelog draft via Copilot
408418
if: steps.check_parent.outputs.has_parent == 'true' && steps.check_existing.outputs.exists == 'false'
409419
id: generate_draft

0 commit comments

Comments
 (0)