Skip to content

Merge pull request #610 from CommonGateway/feature/KTB-8/fix-events-w… #1737

Merge pull request #610 from CommonGateway/feature/KTB-8/fix-events-w…

Merge pull request #610 from CommonGateway/feature/KTB-8/fix-events-w… #1737

Workflow file for this run

name: php-cbf
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: cs2pr, phpcbf
- name: Run phpcbf
run: phpcbf . -v
continue-on-error: true
- name: Git commit
run: |
git config user.name "GitHub Actions"
git config user.email ""
git add src
git commit -m "Update src from PHP Codesniffer" || echo "No changes to commit"
git pull origin $(git rev-parse --abbrev-ref HEAD) --rebase --autostash
git push