Skip to content

A self-hosted media server and file management system

chore: run php testing only when change occurred in most recent commit and not whole pr every time

aminnausin4a4143ea709f
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index 2a9bfd08..05d701c3 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -20,9 +20,12 @@ jobs:
id: filter
uses: dorny/paths-filter@v2
with:
+ base: ${{ github.event.before }}
filters: |
php_changed:
- '**/*.php'
+ - name: Show filtered changes
+ run: echo "${{ steps.filter.outputs.changes }}"
laravel-pint:
needs: [ check-php-changes ]