Skip to content

Commit 2038bd6

Browse files
authored
Update php-cs-fixer.yml
1 parent daf2eb7 commit 2038bd6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
name: Check & fix styling
22

3-
on: [push]
3+
on:
4+
push:
5+
paths:
6+
- '**.php'
7+
8+
permissions:
9+
contents: write
410

511
jobs:
612
php-cs-fixer:
713
runs-on: ubuntu-latest
14+
timeout-minutes: 5
815

916
steps:
1017
- name: Checkout code
@@ -18,6 +25,6 @@ jobs:
1825
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
1926

2027
- name: Commit changes
21-
uses: stefanzweifel/git-auto-commit-action@v4
28+
uses: stefanzweifel/git-auto-commit-action@v5
2229
with:
23-
commit_message: Fix styling
30+
commit_message: Fix styling

0 commit comments

Comments
 (0)