Skip to content

Commit 71bcaf6

Browse files
authored
Merge pull request #15 from creyD/dev
Updated docs
2 parents 073a0f8 + 29a6b69 commit 71bcaf6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A GitHub action for styling files with [prettier](https://prettier.io).
2222
| commit_options | :x: | - | Custom git commit options |
2323
| commit_message | :x: | Prettified Code! | Custom git commit message |
2424
| file_pattern | :x: | * | Custom git add file pattern |
25-
| branch | :white_check_mark: | - | Always set this to `${{ github.head_ref }}` in order to work both with pull requests and push events |
25+
| 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 |
2626

2727
### Example Config
2828

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

0 commit comments

Comments
 (0)