I’m trying to apply certain labels to NPM packages with Dependabot
I’m trying to apply a “Design System Update” label to only these packages
@cmsgov/design-system, @cmsgov/design-system-docs, @cmsgov/design-system-scripts
Otherwise I want all other NPN updates to apply the “Dependencies” label
Here is my config which currently adds both the “Design System Update” and “Dependencies” to all Dependabot PRs
version: 2 updates: # Keep package.json (& lockfiles) up to date as soon as # new versions are published to the npm registry - checks daily - package-ecosystem: 'npm' directory: '/' schedule: interval: 'daily' labels: - "Dependencies" - "Design System Update" allow: - dependency-name: "@cmsgov/design-system" - dependency-name: "@cmsgov/design-system-docs" - dependency-name: "@cmsgov/design-system-scripts"