Don't run reviewdog on pushes

As configured, it's meant to annotate PRs with linter errors (so you
don't have to skim through logs). So it does not make sense for pushes.

In fact, on pushes rubocop action is doing nothing, and prettier action
is failing with:

> reviewdog: this is not PullRequest build.
> sed: couldn't write 80 items to stdout: Broken pipe
This commit is contained in:
David Rodríguez
2025-10-16 12:30:15 +02:00
parent c4c266246c
commit a28f05fddc

View File

@@ -1,5 +1,5 @@
name: Linters
on: [push, pull_request]
on: [pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs: