Skip to content

Merge pull request #33 from salahhusa9/renovate/dependabot-fetch-meta… #54

Merge pull request #33 from salahhusa9/renovate/dependabot-fetch-meta…

Merge pull request #33 from salahhusa9/renovate/dependabot-fetch-meta… #54

Workflow file for this run

name: PHP Linting (Pint)
on:
workflow_dispatch:
push:
branches-ignore:
- 'dependabot/npm_and_yarn/*'
jobs:
Pint:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b
with:
php-version: '8.1'
- uses: actions/checkout@v4
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Launch Pint inspection
run: vendor/bin/pint
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: PHP Linting (Pint)
skip_fetch: true