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
| same_commit |:x:|False| Update the current commit instead of creating a new one, created by [Joren Broekema](https://github.com/jorenbroekema), this command works only with the checkout action set to fetch depth '0' (see example 2) |
24
-
| commit_message |:x:| Prettified Code! | Custom git commit message, will be ignored if used with `same_commit`|
25
-
| file_pattern |:x:|*| Custom git add file pattern, can't be used with only_changed! |
23
+
| same_commit |:x:|`false`| Update the current commit instead of creating a new one, created by [Joren Broekema](https://github.com/jorenbroekema), this command works only with the checkout action set to fetch depth '0' (see example 2) |
24
+
| commit_message |:x:|`"Prettified Code!"`| Custom git commit message, will be ignored if used with `same_commit`|
25
+
| file_pattern |:x:|`*`| Custom git add file pattern, can't be used with only_changed! |
26
26
| branch (depreciated with 3.0)|:white_check_mark:| - | Always set this to `${{ github.head_ref }}` in order to work both with pull requests and push events |
27
-
| only_changed |:x:| false | Only prettify changed files, can't be used with file_pattern! This command works only with the checkout action set to fetch depth '0' (see example 2)|
27
+
| only_changed |:x:|`false`| Only prettify changed files, can't be used with file_pattern! This command works only with the checkout action set to fetch depth '0' (see example 2)|
28
28
29
29
> Note: using the same_commit option may lead to problems if other actions are relying on the commit being the same before and after the prettier action has ran. Keep this in mind.
0 commit comments