Skip to content

Commit ea2b503

Browse files
author
foladgar
committed
update github action
1 parent 8c2d173 commit ea2b503

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ jobs:
77
name: PHP-CS-Fixer
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
11-
- name: PHP-CS-Fixer
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
with:
13+
ref: ${{ github.head_ref }}
14+
15+
- name: Run PHP-CS-Fixer
1216
uses: docker://oskarstark/php-cs-fixer-ga
1317
with:
1418
args: --config=.php-cs-fixer.dist --allow-risky=yes
1519

1620
- name: Commit changes
17-
uses: stefanzweifel/git-auto-commit-action@v4
21+
uses: stefanzweifel/git-auto-commit-action@v5
1822
with:
19-
commit_message: Fix styling
23+
commit_message: Fix styling

0 commit comments

Comments
 (0)