Skip to content

[POC] Smart Cache Integration w/ UI #110

[POC] Smart Cache Integration w/ UI

[POC] Smart Cache Integration w/ UI #110

Workflow file for this run

name: Code Quality
on:
pull_request:
paths:
- 'plugins/**'
jobs:
run:
runs-on: ubuntu-latest
name: Check code quality
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get changed plugin directory
id: plugin
run: |
git fetch --prune --unshallow
plugin=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep '^plugins/' | head -1 | cut -d/ -f2)
echo "slug=$plugin" >> $GITHUB_OUTPUT
- name: PHP Code Quality
uses: ./.github/actions/code-quality
with:
working-directory: plugins/${{ steps.plugin.outputs.slug }}