Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): reviewdog fix diff issue #34878

Merged
merged 1 commit into from
Jul 17, 2024
Merged

fix(ci): reviewdog fix diff issue #34878

merged 1 commit into from
Jul 17, 2024

Conversation

OnkarRuikar
Copy link
Contributor

@OnkarRuikar OnkarRuikar commented Jul 17, 2024

At the moment reviewdog doesn't report blank lines in GitHub PR checks. For example, consider this test PR. The lint-and-review-docs workflow failed but reviewdog didn't make any suggestion.

As suggested by a reviewdog maintainer, -filter-mode=diff_context fixes it.

The code change has been tested here.

After we merge this PR, we'll rebase #34879 and reviewdog should make suggestions about the blank lines.

@OnkarRuikar OnkarRuikar requested a review from a team as a code owner July 17, 2024 05:05
@github-actions github-actions bot added system [PR only] Infrastructure and configuration for the project size/xs [PR only] 0-5 LoC changed labels Jul 17, 2024
@bsmth
Copy link
Member

bsmth commented Jul 17, 2024

Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, let's give it a shot!

@bsmth bsmth merged commit ba3fbd8 into mdn:main Jul 17, 2024
6 of 7 checks passed
@OnkarRuikar OnkarRuikar deleted the ci_reviewdog branch July 17, 2024 07:20
@OnkarRuikar
Copy link
Contributor Author

Makes sense to me, let's give it a shot!

It works #34879 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/xs [PR only] 0-5 LoC changed system [PR only] Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants