chore: remove deprecated PHP_CS_FIXER_IGNORE_ENV (#2075) #3668
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: "Documentation" | |
on: # yamllint disable-line rule:truthy | |
push: | |
pull_request: ~ | |
env: | |
COMMITTER_EMAIL: "[email protected]" | |
COMMITTER_NAME: "Oskar Stark" | |
REQUIRED_PHP_EXTENSIONS: "ctype, filter, hash, iconv" | |
jobs: | |
generate: | |
name: "Generate" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php-version: | |
- "8.4" | |
steps: | |
- | |
name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
ref: "${{ github.head_ref }}" | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
- | |
name: "Install PHP with extensions" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" | |
php-version: "${{ matrix.php-version }}" | |
- name: "Composer install" | |
uses: "ramsey/composer-install@v3" | |
with: | |
composer-options: "--no-scripts" | |
- | |
name: "Regenerate workflow images" | |
run: php bin/doctor-rst rules > docs/rules.md | |
- | |
name: "Commit regenerated docs/rules.md file" | |
uses: "stefanzweifel/[email protected]" | |
with: | |
branch: "${{ github.head_ref }}" | |
commit_author: "${{ env.COMMITTER_NAME }} <${{ env.COMMITTER_EMAIL }}>" | |
commit_message: "Fix: Regenerate docs/rules.md files" | |
commit_user_email: "${{ env.COMMITTER_EMAIL }}" | |
commit_user_name: "${{ env.COMMITTER_NAME }}" |