Skip to content

Incompatible with non-git repositories #68

Open
@meskill

Description

@meskill

This is a rare case, especially when using GitHub, but there are options to use VCS other than git, e.g. Jujutsu. But gh-workflow relies on the git repository and git binary available here

let root_dir = String::from_utf8(
Command::new("git")
.args(["rev-parse", "--show-toplevel"])
.output()?
.stdout,
)?;

Consider using other approaches to find proper root to put the workflow files. Maybe https://github.com/azzamsa/toor could be helpful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions