From acf2e1f70bbeec9896aab4950962987098c42692 Mon Sep 17 00:00:00 2001 From: Conrad Date: Sun, 10 Jan 2021 21:37:50 +0100 Subject: [PATCH] Added new plugin feature to documentation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f0d85df..e689898 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ A GitHub action for styling files with [prettier](https://prettier.io). | 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) | | commit_message | :x: | `"Prettified Code!"` | Custom git commit message, will be ignored if used with `same_commit` | | file_pattern | :x: | `*` | Custom git add file pattern, can't be used with only_changed! | +| prettier_plugins | :x: | ` ` | Install Prettier plugins, i.e. `@prettier/prettier-php @prettier/some-other-plugin` | | 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)| > 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.