You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This action runs `air format .` on every pull request.
46
46
If formatting is required, the check fails and suggestion comments are added directly to the pull request.
47
47
We recommend committing the suggestions in a single batch from the `Files changed` view, which will trigger a rerun of the check and delete the outdated suggestion comments.
48
-
Before using this action, ensure that you've locally run Air on your entire project at least once using `air format .` or the `Air: Format Workspace Folder` command in VS Code or Positron, otherwise you can end up with a very large amount of suggestions.
48
+
49
+
Note that suggestion comments only appear on files that have changed in the pull request. Because of this, ensure that you've locally run Air on your entire project at least once using `air format .` or the `Air: Format Workspace Folder` command in VS Code or Positron before using this action.
49
50
50
51
This action is great for managing pull requests from external contributors.
51
52
Even if they don't use Air themselves, they can commit the suggestions to pass Air's formatting checks.
0 commit comments