Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 19, 2025

The copilot-setup-steps workflow was failing at the "Install JavaScript dependencies" step because npm ci was running in the repository root, which has no package.json.

Changes

  • Updated npm ci command to run in pkg/workflow/js/ directory where JavaScript dependencies are located
- name: Install JavaScript dependencies
  run: cd pkg/workflow/js && npm ci

This aligns with the Makefile's deps target and the pattern used in the main CI workflow.

Original prompt

Fix the failing GitHub Actions workflow copilot-setup-steps

Analyze the workflow logs, identify the root cause of the failure, and implement a fix.

Job ID: 58579499406

Job URL: https://github.com/githubnext/gh-aw/actions/runs/20383542822/job/58579499406


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Dec 19, 2025
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow copilot-setup-steps Fix copilot-setup-steps workflow npm ci directory Dec 19, 2025
Copilot AI requested a review from Mossaka December 19, 2025 22:06
@Mossaka Mossaka marked this pull request as ready for review December 19, 2025 23:20
@pelikhan pelikhan merged commit 0a2748d into copilot/install-awf-if-enabled Dec 19, 2025
82 checks passed
@pelikhan pelikhan deleted the copilot/fix-github-actions-workflow-again branch December 19, 2025 23:26
Mossaka added a commit that referenced this pull request Dec 19, 2025
#6925)

* Initial plan

* chore: use awf installer script

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

* chore: pin awf version via installer

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

* Fix copilot-setup-steps workflow npm ci directory (#7013)

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Jiaxiao Zhou <duibao55328@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants