From 30fe71e31409bea01f186219ef7d2b19623a8f19 Mon Sep 17 00:00:00 2001 From: Wesley Date: Wed, 30 Nov 2022 15:34:05 -0800 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ad1e33c..534a0bc 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ A GitHub action for styling files with [prettier](https://prettier.io). | commit_message | :x: | `"Prettified Code!"` | Custom git commit message, will be ignored if used with `same_commit` | | commit_description | :x: | - | Custom git extended 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/plugin-php @prettier/plugin-other` | +| 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. | | 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)| | 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) From 360ac97374760ff965a1793bd2e17bce429970fd Mon Sep 17 00:00:00 2001 From: Juan David Gaviria Correa <63322751+JuanDa237@users.noreply.github.com> Date: Wed, 21 Dec 2022 20:09:05 -0500 Subject: [PATCH 2/3] #101 Update README.md Use v3 as suggested here https://github.com/marketplace/actions/checkout --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad1e33c..2b050c9 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} @@ -80,7 +80,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} @@ -110,7 +110,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.head_ref }} @@ -141,7 +141,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.head_ref }} From 2bf66dcd9f629b99ecfff0ee1e883627e96fb6ba Mon Sep 17 00:00:00 2001 From: Asad Dhorajiwala Date: Tue, 10 Jan 2023 13:45:18 -0800 Subject: [PATCH 3/3] Bumped actions/checkout to v3 in examples actions/checkout@v2 uses node12. GitHub gives a deprecation warning for this since node12 is out of support. actions/checkout@v3 uses node16 by default. https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad1e33c..2b050c9 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} @@ -80,7 +80,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} @@ -110,7 +110,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.head_ref }} @@ -141,7 +141,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.head_ref }}