Skip to content

Commit dc62bca

Browse files
authored
Merge pull request #105 from creyD/dev
Minor Readme Updates
2 parents 6602189 + 2e9c875 commit dc62bca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A GitHub action for styling files with [prettier](https://prettier.io).
2525
| commit_message | :x: | `"Prettified Code!"` | Custom git commit message, will be ignored if used with `same_commit` |
2626
| commit_description | :x: | - | Custom git extended commit message, will be ignored if used with `same_commit` |
2727
| 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. |
2929
| 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)|
3030
| 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)
3131

@@ -53,7 +53,7 @@ jobs:
5353

5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v2
56+
uses: actions/checkout@v3
5757
with:
5858
# Make sure the actual branch is checked out when running on pull requests
5959
ref: ${{ github.head_ref }}
@@ -80,7 +80,7 @@ jobs:
8080

8181
steps:
8282
- name: Checkout
83-
uses: actions/checkout@v2
83+
uses: actions/checkout@v3
8484
with:
8585
# Make sure the actual branch is checked out when running on pull requests
8686
ref: ${{ github.head_ref }}
@@ -110,7 +110,7 @@ jobs:
110110

111111
steps:
112112
- name: Checkout
113-
uses: actions/checkout@v2
113+
uses: actions/checkout@v3
114114
with:
115115
fetch-depth: 0
116116
ref: ${{ github.head_ref }}
@@ -141,7 +141,7 @@ jobs:
141141

142142
steps:
143143
- name: Checkout
144-
uses: actions/checkout@v2
144+
uses: actions/checkout@v3
145145
with:
146146
fetch-depth: 0
147147
ref: ${{ github.head_ref }}

0 commit comments

Comments
 (0)