codota / tabnine-nvim

Tabnine Client for Neovim
https://tabnine.com
362 stars 32 forks source link

chore: add comments on pr suggesting formatting #181

Closed aarondill closed 3 months ago

aarondill commented 3 months ago

This commit adds a step to the lua-format-check-pr job that will leave a comment with "suggested changes" when formatting needs to be applied. This can then be applied with one click (per file).

Alternatively, I could change it to automattically add a commit that formats the code. Several PRs have gotten through without proper formatting, which makes all future PRs fail the checks.

aarondill commented 3 months ago

note that this will fail until it is merged, since PRs can't add permissions to a workflow