@@ -592,9 +592,6 @@ jobs:
592592 - name : Security Check for known vulnerabilities in dependencies
593593 uses : symfonycorp/security-checker-action@v5
594594
595- - name : WordPress Vulnerability Scanner
596- uses : jazzsequence/action-wordpress-vulnerability-scanner@1.0.1
597-
598595 - name : WordPress Vulnerability Check
599596 uses : umutphp/wp-vulnerability-check-github-action@v18
600597 with :
@@ -916,6 +913,9 @@ jobs:
916913
917914 - name : PHPStan for WordPress
918915 uses : dingo-d/phpstan-wp-action@v2
916+ with :
917+ path : ' .'
918+ args : ' simple-wp-optimizer.php'
919919
920920 - name : Create issue on PHPStan failure
921921 if : ${{ failure() }}
@@ -928,3 +928,38 @@ jobs:
928928 with :
929929 filename : .github/ISSUE_TEMPLATE/phpstan-failure.md
930930 update_existing : false
931+
932+ monitor-wp-dependencies :
933+ name : Monitor WordPress Dependencies (PHP ${{ matrix.php-version }})
934+ runs-on : ubuntu-latest
935+ strategy :
936+ matrix :
937+ php-version : ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
938+ fail-fast : false
939+
940+ steps :
941+ - name : Checkout code
942+ uses : actions/checkout@v4
943+
944+ - name : Setup PHP ${{ matrix.php-version }}
945+ uses : shivammathur/setup-php@v2
946+ with :
947+ php-version : ${{ matrix.php-version }}
948+ extensions : mysqli, curl, zip, intl, gd, mbstring, fileinfo, xml
949+ coverage : none
950+ tools : composer:v2
951+
952+ - name : Monitor WordPress Dependencies
953+ uses : fabiankaegy/monitor-wordpress-dependencies-action@v1.0.2
954+
955+ - name : Create issue on dependency monitoring failure
956+ if : ${{ failure() }}
957+ uses : JasonEtco/create-an-issue@v2
958+ env :
959+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
960+ PHP_VERSION : ${{ matrix.php-version }}
961+ RUN_ID : ${{ github.run_id }}
962+ WORKFLOW_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
963+ with :
964+ filename : .github/ISSUE_TEMPLATE/wp-dependencies-failure.md
965+ update_existing : false
0 commit comments