Skip to content

Commit 8da1bc9

Browse files
authored
[9.x] Auto fix docblock changes (#45275)
* Auto fix docblock changes * Update static-analysis.yml
1 parent 876356c commit 8da1bc9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/static-analysis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747

4848
name: Facade DocBlocks
4949

50+
if: ${{ github.repository_owner == 'laravel' && github.event_name == 'push' }}
51+
5052
steps:
5153
- name: Checkout code
5254
uses: actions/checkout@v3
@@ -65,5 +67,11 @@ jobs:
6567
max_attempts: 5
6668
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
6769

68-
- name: Lint facade docblocks
69-
run: php -f bin/facades.php -- --lint
70+
- name: Update facade docblocks
71+
run: php -f bin/facades.php
72+
73+
- name: Commit facade docblocks
74+
uses: stefanzweifel/git-auto-commit-action@v4
75+
with:
76+
commit_message: Update facade docblocks
77+
file_pattern: src/

0 commit comments

Comments
 (0)