Skip to content

Commit

Permalink
Merge pull request #15 from creyD/dev
Browse files Browse the repository at this point in the history
Updated docs
  • Loading branch information
creyD committed May 4, 2020
2 parents 073a0f8 + 29a6b69 commit 71bcaf6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ A GitHub action for styling files with [prettier](https://prettier.io).
| commit_options | :x: | - | Custom git commit options |
| commit_message | :x: | Prettified Code! | Custom git commit message |
| file_pattern | :x: | * | Custom git add file pattern |
| branch | :white_check_mark: | - | Always set this to `${{ github.head_ref }}` in order to work both with pull requests and push events |
| 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 |

### Example Config

Expand Down Expand Up @@ -50,8 +50,6 @@ jobs:
- name: Prettify code
uses: creyD/prettier_action@v2.2
with:
# Push back to the same branch that was checked out
branch: ${{ github.head_ref }}
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md}
```
Expand Down

0 comments on commit 71bcaf6

Please sign in to comment.