Restructure metadata and add collection endpoint (#596) #2250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "PHP-CS-Fixer" | |
on: | |
push: | |
branches: | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.x" | |
- "*_actions" | |
- "feature-*" | |
pull_request_target: | |
types: [ opened,closed,synchronize ] | |
permissions: | |
contents: write | |
jobs: | |
php-style: | |
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main | |
secrets: | |
PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }} | |
with: | |
head_ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
config_file: .php-cs-fixer.dist.php |