Skip to content

gh-aw binary not present in runner working directory for portfolio-analyst #18747

@heaversm

Description

@heaversm

gh-aw binary is not present in the runner's working directory. The setup action installs scripts to /opt/gh-aw/actions/ but doesn't place a gh-aw CLI binary in the workspace.

Environment

  • gh-aw version: 0.50.7 (upgraded from 0.47.4)
  • Engine: claude
  • Repository: private

Steps to reproduce

  1. gh aw add-wizard https://github.com/github/gh-aw/blob/v0.45.5/.github/workflows/portfolio-analyst.md
  2. Workflow installs and triggers automatically
  3. Workflow run fails

Errors

Run 1 (v0.47.4)

The activation job fails during "Interpolate variables and render templates":

Runtime import file not found:
aw/imports/github/gh-aw/852cb06ad52958b402ed982b69957ffc57ca0619/.github_workflows_shared_reporting.md

The import files referenced in the workflow were not committed to the repo during add-wizard.

Run 2 (v0.50.7, after manually adding import files)

Import issue resolved, but the agent job fails at the "Download logs" step:

./gh-aw: No such file or directory

The workflow step runs ./gh-aw logs --start-date -30d ... but the gh-aw binary is not present in the
runner's working directory. The setup action installs scripts to /opt/gh-aw/actions/ but doesn't place a
gh-aw CLI binary in the workspace.

Expected behavior

The add-wizard command should:

  1. Include all required import files in the PR it creates
  2. The workflow should have access to the gh-aw CLI during execution

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions