Fix reviewdog workflow failing to create checks #13645
Open
+1
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What? Why?
Reviewdog (as configured by our linters workflow) is supposed to create checks for each linter and set them as failed is lint issues are found. See an example in my fork: https://github.com/deivid-rodriguez/openfoodnetwork/actions/runs/18717161451/job/53379580172.
I think this probably used to work until bd6bf93, because adding specific permissions to fetch the code automatically removed the rest of permissions.
What should we test?
I think, even if this is a PR from a fork, the new checks for rubocop and prettier should show up here. But we'll see.
Release notes