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
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ A GitHub action for styling files with [prettier](https://prettier.io).
25
25
| commit_message |:x:|`"Prettified Code!"`| Custom git commit message, will be ignored if used with `same_commit`|
26
26
| commit_description |:x:| - | Custom git extended commit message, will be ignored if used with `same_commit`|
27
27
| file_pattern |:x:|`*`| Custom git add file pattern, can't be used with only_changed! |
28
-
| prettier_plugins |:x:| - | Install Prettier plugins, i.e. `@prettier/plugin-php@prettier/plugin-other`|
28
+
| prettier_plugins |:x:| - | Install Prettier plugins, i.e. `"@prettier/plugin-php" "@prettier/plugin-other"`. Must be wrapped in quotes since @ is a reserved character in YAML.|
29
29
| 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)|
30
30
| github_token | :x: | `${{ github.token }}` | The default [GITHUB_TOKEN](https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret) or a [Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)
31
31
@@ -53,7 +53,7 @@ jobs:
53
53
54
54
steps:
55
55
- name: Checkout
56
-
uses: actions/checkout@v2
56
+
uses: actions/checkout@v3
57
57
with:
58
58
# Make sure the actual branch is checked out when running on pull requests
59
59
ref: ${{ github.head_ref }}
@@ -80,7 +80,7 @@ jobs:
80
80
81
81
steps:
82
82
- name: Checkout
83
-
uses: actions/checkout@v2
83
+
uses: actions/checkout@v3
84
84
with:
85
85
# Make sure the actual branch is checked out when running on pull requests
0 commit comments