mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
⚙️ 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:
parent
1260551690
commit
94a2c1ff10
1 changed files with 7 additions and 1 deletions
8
.github/workflows/unused-packages.yml
vendored
8
.github/workflows/unused-packages.yml
vendored
|
|
@ -1,6 +1,12 @@
|
||||||
name: Detect Unused NPM Packages
|
name: Detect Unused NPM Packages
|
||||||
|
|
||||||
on: [pull_request]
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'package.json'
|
||||||
|
- 'package-lock.json'
|
||||||
|
- 'client/**'
|
||||||
|
- 'api/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
detect-unused-packages:
|
detect-unused-packages:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue