Skip to content

Commit 67d0952

Browse files
committed
Revert "Use Reusable Workflows"
This reverts commit 7fb41aa.
1 parent 3ef4571 commit 67d0952

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

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

+19-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1-
name: php-cs-fixer
1+
name: Check & fix styling
22

3-
on:
4-
pull_request:
5-
push:
6-
branches:
7-
- main
3+
on: [push]
84

95
jobs:
106
php-cs-fixer:
11-
uses: stefanzweifel/reusable-workflows/.github/workflows/php-cs-fixer.yml@main
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
with:
13+
ref: ${{ github.head_ref }}
14+
15+
- name: Run PHP CS Fixer
16+
uses: docker://oskarstark/php-cs-fixer-ga
17+
with:
18+
args: --config=.php_cs.dist.php --allow-risky=yes
19+
20+
- name: Commit changes
21+
uses: stefanzweifel/git-auto-commit-action@v4
22+
with:
23+
commit_message: Fix styling

0 commit comments

Comments
 (0)