Skip to content

Fix template path in Backlog Triage workflow#25

Merged
jeremyeder merged 1 commit intoambient-code:mainfrom
jeremyeder:fix-template-path-correct
Jan 19, 2026
Merged

Fix template path in Backlog Triage workflow#25
jeremyeder merged 1 commit intoambient-code:mainfrom
jeremyeder:fix-template-path-correct

Conversation

@jeremyeder
Copy link
Copy Markdown
Contributor

Problem

The workflow is failing with:

FileNotFoundError: [Errno 2] No such file or directory: 'workflows/triage/templates/report.html'

Root Cause

The checkout action uses path: workflows, which creates this directory structure:

workflows/                          # Root of checked-out repo
└── workflows/                      # The workflows/ directory inside the repo  
    └── triage/                     # The triage workflow
        └── templates/
            └── report.html

So the template is at workflows/workflows/triage/templates/report.html, not workflows/triage/templates/report.html.

Solution

Changed the template path from:

  • workflows/triage/templates/report.html
  • workflows/workflows/triage/templates/report.html

Note

PR #23 incorrectly changed this path from workflows/workflows/triage/ to workflows/triage/ based on a misunderstanding of the directory structure. This PR reverts that change.

Fixes

The checkout action with 'path: workflows' creates this structure:
- workflows/ (root of checked out repo)
- workflows/workflows/ (the workflows/ dir inside the repo)
- workflows/workflows/triage/ (the triage workflow)

So the template is at workflows/workflows/triage/templates/report.html,
not workflows/triage/templates/report.html.

Fixes: https://github.com/ambient-code/workflows/actions/runs/21152110683

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jeremyeder jeremyeder merged commit 76c0ca4 into ambient-code:main Jan 19, 2026
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.

2 participants