Skip to content

It is useful if --debug generates review message via GitHub Workflow command #246

Description

@oakcask

Currently --debug generates TOML like this:

$ git whose '*' --debug 
[[".github/dependabot.yml"]]
line = 1
rule = "* foo"
owners = ["foo"]
effective = false
[[".github/dependabot.yml"]]
line = 2
rule = ".github/ bar"
owners = ["bar"]
effective = true

It is useful if git-whose generate warning on line 1 which is not effective rule in CODEOWNERS in CI.

$ git whose '*' --github-review
::warning file=CODEOWNERS,line=1::The rule matches `.github/dependabot.yml` but is overridden by line 2"

https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions