Skip to content

Commit 04b9bf8

Browse files
authored
Merge pull request #29 from pimcore/php-cs-fixer-actions
Use reusable PHP-CS-Fixer workflow
2 parents 392c331 + bd00ca7 commit 04b9bf8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
name: "PHP-CS-Fixer"
22

33
on:
4-
pull_request:
5-
branches:
6-
- "[0-9]+.[0-9]+"
7-
- "[0-9]+.x"
8-
- "feature-*"
4+
workflow_dispatch:
95
push:
106
branches:
117
- "[0-9]+.[0-9]+"
@@ -17,10 +13,11 @@ permissions:
1713
contents: write
1814

1915
jobs:
20-
php-cs-fixer:
21-
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main
16+
php-style:
17+
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@fix-failed-workflow
2218
with:
2319
head_ref: ${{ github.head_ref || github.ref_name }}
2420
repository: ${{ github.repository }}
21+
config_file: ".php-cs-fixer.dist.php"
2522
secrets:
2623
PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)