Skip to content

[BUG] [v0.0.7] cortex github install creates a new Cortex.yml without detecting or warning about existing Cortex-related workflows #53318

@codvy8282

Description

@codvy8282

Project

cortex

Description

When a Cortex-related workflow already exists (e.g., release.yml detected by github status), running github install silently creates an additional Cortex.yml file. No duplicate detection or confirmation prompt.

Error Message

Debug Logs

System Information

windows 11

Screenshots

https://github.com/codvy8282/images/blob/main/25.png

Steps to Reproduce

$ cortex github status
[OK] Cortex workflow is installed.
Path: ./.github/workflows/release.yml

$ cortex github install
GitHub Actions workflow installed!
Location: ./.github/workflows/Cortex.yml

Now there are TWO workflow files

Expected Behavior

Warn that a workflow already exists and ask for confirmation, or update the existing one.

Actual Behavior

Silently creates a second workflow file alongside the existing one.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions