From 8da1bc911170ec9e7b168a433570856f3da8965e Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 21 Dec 2022 16:51:54 +0100 Subject: [PATCH] [9.x] Auto fix docblock changes (#45275) * Auto fix docblock changes * Update static-analysis.yml --- .github/workflows/static-analysis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index d7b401638ccd..5e66de45b13f 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -47,6 +47,8 @@ jobs: name: Facade DocBlocks + if: ${{ github.repository_owner == 'laravel' && github.event_name == 'push' }} + steps: - name: Checkout code uses: actions/checkout@v3 @@ -65,5 +67,11 @@ jobs: max_attempts: 5 command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress - - name: Lint facade docblocks - run: php -f bin/facades.php -- --lint + - name: Update facade docblocks + run: php -f bin/facades.php + + - name: Commit facade docblocks + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Update facade docblocks + file_pattern: src/