paritytech / pr-custom-review

GitHub Action for complex pull request approval cases that are not currently supported by the Branch protection feature in GitHub.
MIT License
8 stars 4 forks source link

Fix starting line count #85

Closed joao-paulo-parity closed 2 years ago

joao-paulo-parity commented 2 years ago

githubLogsInitialLineCount became outdated when I moved the tokens from inputs to action configuration in https://github.com/paritytech/pr-custom-review/pull/74. This results in unpleasant UX since because the offset is bigger than it should be GitHub doesn't scroll to the right line, thus forcing users to scroll all the way down to the bottom of the logs manually.