⚙️ ci: Trigger Restriction for Detect Unused NPM Packages (#5844)

The workflow now only runs on pull requests that modify:
- The root `package.json` or `package-lock.json` file
- Any file under the client folder
- Any file under the api folder
This commit is contained in:
Ruben Talstra 2025-02-22 23:15:29 +01:00 committed by GitHub
parent 1260551690
commit 94a2c1ff10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,12 @@
name: Detect Unused NPM Packages
on: [pull_request]
on:
pull_request:
paths:
- 'package.json'
- 'package-lock.json'
- 'client/**'
- 'api/**'
jobs:
detect-unused-packages: