We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4ca199 + f12c1cd commit 8cc2cbeCopy full SHA for 8cc2cbe
1 file changed
.github/workflows/php-cs-fixer.yaml
@@ -5,20 +5,17 @@ on:
5
branches:
6
- "[0-9]+.[0-9]+"
7
- "[0-9]+.x"
8
- - "*_actions"
9
- - "feature-*"
10
- pull_request_target:
11
- types: [ opened,closed,synchronize ]
12
13
permissions:
14
contents: write
15
16
jobs:
17
php-style:
18
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main
+ if: github.repository_owner == 'pimcore'
19
secrets:
20
PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }}
21
with:
22
- head_ref: ${{ github.event.pull_request.head.ref }}
23
- repository: ${{ github.event.pull_request.head.repo.full_name }}
24
- config_file: .php-cs-fixer.dist.php
+ head_ref: ${{ github.head_ref || github.ref_name }}
+ repository: ${{ github.repository }}
+ config_file: .php-cs-fixer.dist.php
0 commit comments