Checks if the database uses ICU regex syntax and adapt sql query on M… #103
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: Format (PHP) | |
on: | |
push: | |
branches: | |
- '1.2' | |
pull_request: | |
paths: | |
- '**.php' | |
# Allow manually triggering the workflow. | |
workflow_dispatch: | |
jobs: | |
php-cs-fixer: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
# with: | |
# ref: ${{ github.head_ref }} | |
- uses: actions/cache@v3 | |
with: | |
path: .php-cs-fixer.cache | |
key: ${{ runner.OS }}-${{ github.repository }}-phpcsfixer-${{ github.sha }} | |
restore-keys: | | |
${{ runner.OS }}-${{ github.repository }}-phpcsfixer- | |
- name: PHP-CS-Fixer | |
uses: docker://oskarstark/php-cs-fixer-ga | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply php-cs-fixer changes | |
file_pattern: '*.php' |