Skip to content

[Bug]: issue-auto-reply.yml is malformed YAML so the workflow never loads #1948

Description

@nyxsky404

Summary

.github/workflows/issue-auto-reply.yml starts a JavaScript template literal in a YAML block scalar, but subsequent body lines are dedented out of that scalar. GitHub Actions cannot register the workflow, so new issues get no acknowledgement comment.

Verified on

Upstream main @ 8c4d2928a4a9ae402d6e5837135ccb7ee364ed43

Location

.github/workflows/issue-auto-reply.yml (approx. lines 23–34)

Evidence

PyYAML rejects the file while scanning a simple key (template-literal lines leave the | block).

Suggested fix

Indent every template-literal line within script: |, add a workflow syntax check, and assert the created comment body. Closed #1387 (mojibake) and merged #736 do not cover this indentation breakage.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions