Skip to content

Commit adcb822

Browse files
committed
Upgrade to creyD/prettier_action@4.3
1 parent e10d407 commit adcb822

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/browserstack.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
push:
77
branches:
88
- master
9+
- main
910

1011
jobs:
1112
build:
@@ -31,11 +32,12 @@ jobs:
3132

3233
- uses: actions/checkout@v3
3334
with:
35+
ref: ${{ github.head_ref }}
3436
set-safe-directory: "/github/workspace"
3537

3638
- name: Prettier Action on PR
3739
if: github.event_name == 'pull_request'
38-
uses: creyD/prettier_action@v1.0
40+
uses: creyD/prettier_action@4.3
3941
with:
4042
prettier_options: "--write {**/*,*}.{js,hbs,html,json,md,yml,css,scss} !.github/workflows/**/* !dist/**/*"
4143
commit_message: "Run prettier via GitHub Action"
@@ -46,7 +48,7 @@ jobs:
4648

4749
- name: Prettier Action on master
4850
if: github.ref == 'refs/heads/master'
49-
uses: creyD/prettier_action@v1.0
51+
uses: creyD/prettier_action@v4.3
5052
with:
5153
prettier_options: "--write {**/*,*}.{js,html,json,md,yml,css,scss} !.github/workflows/**/* !dist/**/*"
5254
commit_message: "Run prettier via GitHub Action"

0 commit comments

Comments
 (0)