Skip to content

chore: Debug

chore: Debug #50

Workflow file for this run

name: PHP Mess Detector
on: push
jobs:
phpmd:
name: PHP Mess Detector
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get changed files
uses: tj-actions/changed-files@v40
id: changed-files
with:
since_last_remote_commit: false
- name: Setup PHP environment
uses: shivammathur/setup-php@v2
with:
coverage: none
tools: phpmd
- name: Run PHP Mess Detector on modified files
shell: bash
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done