Skip to content

Bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0 #14

Bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0

Bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0 #14

Workflow file for this run

name: Docs
on:
push:
branches:
- "main"
env:
# see https://github.com/composer/composer/issues/9368#issuecomment-718112361
COMPOSER_ROOT_VERSION: "dev-main"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# see https://github.com/ramsey/composer-install
- uses: "ramsey/composer-install@v2"
- name: Install rule doc generator
run: composer require symplify/rule-doc-generator --with-all-dependencies
- name: Generate documentation
run: composer docs
- name: Uninstall rule doc generator
run: composer remove symplify/rule-doc-generator
- uses: stefanzweifel/[email protected]
with:
commit_message: '[DOCS] Generate documentation'
commit_options: '--no-verify --signoff'
branch: "main"
push_options: '--force'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}