Right now, workflow.md gets compiled to workflow.lock.yml. If the file is renamed to workflow.lock.yaml, running gh aw compile creates a new workflow.lock.yml instead of updating the existing workflow.lock.yaml.
Expected Behavior
If workflow.lock.yaml exists, gh aw compile should update it instead of generating workflow.lock.yml.
Rationale
Even though .yml is the default file extension for workflow files, GitHub supports .yaml files in .github/workflows (like here), providing consistency for repositories where .yaml is the established pattern. This includes support for dependabot.yaml and action.yaml in workflow action repositories (living proof).
Right now,
workflow.mdgets compiled toworkflow.lock.yml. If the file is renamed toworkflow.lock.yaml, runninggh aw compilecreates a newworkflow.lock.ymlinstead of updating the existingworkflow.lock.yaml.Expected Behavior
If
workflow.lock.yamlexists,gh aw compileshould update it instead of generatingworkflow.lock.yml.Rationale
Even though
.ymlis the default file extension for workflow files, GitHub supports.yamlfiles in.github/workflows(like here), providing consistency for repositories where.yamlis the established pattern. This includes support fordependabot.yamlandaction.yamlin workflow action repositories (living proof).