From 210dab1a34d74ffef9b33f5c503dfb95aa028c0b Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Mon, 12 Dec 2022 16:52:01 +0100 Subject: [PATCH 1/2] Auto fix docblock changes --- .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..83433199685e 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.ref_name == 'master' || github.ref_name == '9.x') }} + 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/ From 1fde5a0b8fd12cf2357c5e97e49087b68ae5c3e9 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Mon, 12 Dec 2022 17:00:38 +0100 Subject: [PATCH 2/2] Update static-analysis.yml --- .github/workflows/static-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 83433199685e..5e66de45b13f 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -47,7 +47,7 @@ jobs: name: Facade DocBlocks - if: ${{ github.repository_owner == 'laravel' && (github.ref_name == 'master' || github.ref_name == '9.x') }} + if: ${{ github.repository_owner == 'laravel' && github.event_name == 'push' }} steps: - name: Checkout code