Remove PHPMD workflow
This commit is contained in:
parent
e4783a72a5
commit
38d566b9dc
|
@ -1,41 +0,0 @@
|
||||||
name: PHPMD
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
schedule:
|
|
||||||
- cron: '00 03 * * 1'
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
PHPMD:
|
|
||||||
name: Run PHPMD Scanning
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
security-events: write
|
|
||||||
actions: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Source Code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Environment
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
coverage: none
|
|
||||||
tools: phpmd
|
|
||||||
|
|
||||||
- name: Run PHPMD
|
|
||||||
run: phpmd . sarif codesize --reportfile phpmd-results.sarif
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Upload Analysis Results
|
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
|
||||||
with:
|
|
||||||
sarif_file: phpmd-results.sarif
|
|
||||||
wait-for-processing: true
|
|
Loading…
Reference in New Issue