Closed FrNecas closed 2 years ago
Or, alternatively, run the job for pull requests only.
I think running for push makes sense - you can easily see the style errors before opening a pull request. Lets ignore only pushes to master
Should be excluded now, tested on my fork (https://github.com/FrNecas/2ls)
The action would fail after a pull request is merged into master due to the
git fetch
command which refuses to fetch the current branch.