Skip to content

Commit b00522e

Browse files
committed
Remove branch from creyD/prettier_action options
1 parent 58eb0cc commit b00522e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/browserstack.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,10 @@ jobs:
3636
set-safe-directory: "/github/workspace"
3737

3838
- name: Prettier Action on PR
39-
if: github.event_name == 'pull_request'
4039
uses: creyD/[email protected]
4140
with:
4241
prettier_options: "--write {**/*,*}.{js,hbs,html,json,md,yml,css,scss} !.github/workflows/**/* !dist/**/*"
4342
commit_message: "Run prettier via GitHub Action"
44-
branch: ${{ github.head_ref }}
45-
file_pattern: "."
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
49-
- name: Prettier Action on master
50-
if: github.ref == 'refs/heads/master'
51-
uses: creyD/[email protected]
52-
with:
53-
prettier_options: "--write {**/*,*}.{js,html,json,md,yml,css,scss} !.github/workflows/**/* !dist/**/*"
54-
commit_message: "Run prettier via GitHub Action"
55-
branch: master
5643
file_pattern: "."
5744
env:
5845
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)