Skip to content

Commit efe2307

Browse files
committed
dupe
1 parent 5272deb commit efe2307

2 files changed

Lines changed: 27 additions & 6 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: autofix.ci # needed to securely identify the workflow by the action
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
php-cs-fixer:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: shivammathur/setup-php@v2
14+
with:
15+
coverage: none
16+
extensions: mbstring
17+
php-version: 8.3
18+
19+
- uses: ramsey/composer-install@v2
20+
21+
- run: vendor/bin/php-cs-fixer fix
22+
23+
- uses: autofix-ci/action@v1
24+
with:
25+
commit-message: Apply php-cs-fixer changes

.github/workflows/autoformat.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: autofix.ci # needed to securely identify the workflow by the action
1+
name: Autoformat
22

33
on:
44
push:
@@ -62,8 +62,4 @@ jobs:
6262

6363
- uses: ramsey/composer-install@v2
6464

65-
- run: vendor/bin/php-cs-fixer fix
66-
67-
- uses: autofix-ci/action@v1
68-
with:
69-
commit-message: Apply php-cs-fixer changes
65+
- run: vendor/bin/php-cs-fixer

0 commit comments

Comments
 (0)