From 919722b43dba369298c026e00b145083191bc3cb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 16:41:23 +0000 Subject: [PATCH 1/3] Initial plan From 1589ffdb31f35a289a9171b92ea7b14ffdd5627f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 16:45:27 +0000 Subject: [PATCH 2/3] fix(larasets): add filacheck workflow steps Agent-Logs-Url: https://github.com/tomgrv/devcontainer-features/sessions/ea7d28a6-cc42-45b4-ba73-74b343f8c611 Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com> --- src/larasets/stubs/.github/workflows/fix-php.yml | 11 +++++++++-- .../stubs/.github/workflows/validate-pr-php.yml | 6 ++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/larasets/stubs/.github/workflows/fix-php.yml b/src/larasets/stubs/.github/workflows/fix-php.yml index d6361ad..739ca52 100644 --- a/src/larasets/stubs/.github/workflows/fix-php.yml +++ b/src/larasets/stubs/.github/workflows/fix-php.yml @@ -42,6 +42,14 @@ jobs: paths: ${{ github.event.inputs.paths }} fix: 'true' + - name: Apply FilaCheck fixes + id: fix-filacheck + uses: tomgrv/actions/run-filacheck@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path: app/Filament + fix: 'true' + - name: Apply Pint fixes id: fix-pint uses: ./packages/tomgrv/actions/run-pint @@ -52,7 +60,7 @@ jobs: - name: Create or update PR id: create-pr - if: ${{ steps.fix-phpstan.outputs.has-changes == 'true' || steps.fix-pint.outputs.has-changes == 'true' }} + if: ${{ steps.fix-phpstan.outputs.has-changes == 'true' || steps.fix-filacheck.outputs.has-changes == 'true' || steps.fix-pint.outputs.has-changes == 'true' }} uses: tomgrv/actions/create-pr@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -60,7 +68,6 @@ jobs: head-branch: 'chore/phpinsights-fix-${{ github.run_id }}' workdir: ${{ github.workspace }} commit-message: 'chore: apply PHP Insights auto-fixes' - commit-files: ${{ steps.fix-phpstan.outputs.changed-files }},${{ steps.fix-pint.outputs.changed-files }} head-owner: ${{ github.repository_owner }} base-branch: ${{ github.event.inputs.base_branch }} pr-title: 'chore: apply PHP Insights auto-fixes' diff --git a/src/larasets/stubs/.github/workflows/validate-pr-php.yml b/src/larasets/stubs/.github/workflows/validate-pr-php.yml index 0d68d3d..6e1da52 100644 --- a/src/larasets/stubs/.github/workflows/validate-pr-php.yml +++ b/src/larasets/stubs/.github/workflows/validate-pr-php.yml @@ -40,6 +40,12 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} paths: app,config,database,resources,routes,tests,modules,packages + - name: Run FilaCheck + uses: tomgrv/actions/run-filacheck@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path: app/Filament + - name: Run PHPMD uses: tomgrv/actions/run-phpmd@v0 with: From f20a8760fa4806175045e00caec74fdb51c528eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 16:52:45 +0000 Subject: [PATCH 3/3] fix(larasets): gate filacheck on filament presence Agent-Logs-Url: https://github.com/tomgrv/devcontainer-features/sessions/bce5ce65-03cd-4faf-b314-4efda1825526 Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com> --- src/larasets/stubs/.github/workflows/fix-php.yml | 1 + src/larasets/stubs/.github/workflows/validate-pr-php.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/larasets/stubs/.github/workflows/fix-php.yml b/src/larasets/stubs/.github/workflows/fix-php.yml index 739ca52..4f6b0a9 100644 --- a/src/larasets/stubs/.github/workflows/fix-php.yml +++ b/src/larasets/stubs/.github/workflows/fix-php.yml @@ -44,6 +44,7 @@ jobs: - name: Apply FilaCheck fixes id: fix-filacheck + if: ${{ hashFiles('app/Filament/**') != '' }} uses: tomgrv/actions/run-filacheck@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/larasets/stubs/.github/workflows/validate-pr-php.yml b/src/larasets/stubs/.github/workflows/validate-pr-php.yml index 6e1da52..8ec7c15 100644 --- a/src/larasets/stubs/.github/workflows/validate-pr-php.yml +++ b/src/larasets/stubs/.github/workflows/validate-pr-php.yml @@ -41,6 +41,7 @@ jobs: paths: app,config,database,resources,routes,tests,modules,packages - name: Run FilaCheck + if: ${{ hashFiles('app/Filament/**') != '' }} uses: tomgrv/actions/run-filacheck@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }}