Skip to content

Merge pull request #67 from ohdearapp/update-new-api-endpoints #78

Merge pull request #67 from ohdearapp/update-new-api-endpoints

Merge pull request #67 from ohdearapp/update-new-api-endpoints #78

name: Fix PHP code style issues
on:
push:
paths:
- '**.php'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
php-code-styling:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
coverage: none
- name: Run composer install
run: composer install -n --prefer-dist
- name: Fix PHP code style issues
run: composer format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling