You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: 'PHPStan'on:
# Every Wednesday we want to refresh the baselineschedule:
- cron: '0 6 * * 3'# We want to be able to manually refresh the baseline tooworkflow_dispatch:
# Run PHPStan analyse on pull requestspull_request:
env:
PHP_VERSION: '8.3'jobs:
phpstan:
runs-on: ubuntu-22.04steps:
- name: Checkoutuses: actions/checkout@v4
- name: Setup PHPuses: shivammathur/setup-php@2with:
php-version: ${{ env.PHP_VERSION }}env:
fail-fast: true
- uses: ramsey/composer-install@2
- uses: ruudk/phpstan-baseline-refresh-create-pr-action@mainwith:
github_token: ${{ secrets.PAT_GITHUB_TOKEN }}baseline_path: phpstan-baseline.neoncommit_name: Rambocommit_email: rambo-bot@users.noreply.github.comcommit_message: PHPStan > Update baselinepr_create: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && 1 || 0 }}pr_title: PHPStan > Update baselinepr_reviewer: ruudkpr_body: | This PR is automatically created to cleanup our baseline. Since the last refresh of the baseline we have fixed {0} ignored errors. Keep it up all! :muscle: There are only {1} ignored errors left :sweat_smile: