[Elements] Add new service to return if element is locked (#313) #1197
This file contains hidden or 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: | |
| pull_request_target: | |
| branches: | |
| - "[0-9]+.[0-9]+" | |
| - "[0-9]+.x" | |
| - "feature-*" | |
| push: | |
| branches: | |
| - "[0-9]+.[0-9]+" | |
| - "[0-9]+.x" | |
| - "*_actions" | |
| - "feature-*" | |
| permissions: | |
| contents: read | |
| jobs: | |
| php-cs-fixer: | |
| permissions: | |
| contents: write # for stefanzweifel/git-auto-commit-action to push code in repo | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| - name: PHP-CS-Fixer | |
| uses: docker://oskarstark/php-cs-fixer-ga:latest | |
| - uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: Apply php-cs-fixer changes |