reviewdog / action-black

Run black with Reviewdog :dog:
https://github.com/reviewdog/reviewdog
MIT License
7 stars 10 forks source link

error: When repoter "github-pr-review" error occur #56

Closed tsuyoshicho closed 2 years ago

tsuyoshicho commented 2 years ago

https://github.com/reviewdog/action-black/blob/752e8a23953b8af9316f42ddae11417830238fbc/entrypoint.sh#L66-L68

Nomally: reporter: "github-check" work fine https://github.com/tsuyoshicho/pytest-sample/runs/6803763036?check_suite_focus=true

But, reporter: "github-pr-review" error occur https://github.com/tsuyoshicho/pytest-sample/runs/6803765264?check_suite_focus=true

/home/runner/work/_actions/reviewdog/action-black/v3/entrypoint.sh: line 68: unset: [-1]: bad array subscript

github-pr-review using command are different output?

tsuyoshicho commented 2 years ago

Suggest soluition github-pr-review path regenerate black_check_output same as non-github-pr-review command?