use-herald-action icon indicating copy to clipboard operation
use-herald-action copied to clipboard

excludes are dropped between validating the rule and printing that it was loaded

Open scamden opened this issue 2 months ago • 3 comments

I somehow go from having a valid rule with excludes to a rule with no excludes. Any help would be very appreciated.

2024-05-02T23:39:13.227Z use-herald-action:isValidRawRule validation: { rule: { name: 'This is a rule to add @scamden as a assignee when bi code changes', includes: [ 'workspaces/app-dashboard/components/bi//*', 'workspaces/shared-universal/bi//' ], excludes: [ 'workspaces/app-dashboard/components/bi/dataLineage/**/', 'workspaces/app-dashboard/components/bi/BiAnomalyDetection.tsx', 'workspaces/app-dashboard/components/bi/atoms/anomalyAtoms.ts' ], action: 'comment', customMessage: 'blocking r? @scamden }, hasActors: true, hasValidActionValues: true, matchers: true }

2024-05-02T23:39:13.228Z use-herald-action:index loaded rules and locations { rules: Rules(2) [ { name: 'This is a rule to add @scamden as a assignee when bi code changes', action: 'comment', includes: [Array], customMessage: 'blocking r? @scamden --', users: [], teams: [], excludes: [], includesInPatch: [], eventJsonPath: [], path: '/home/runner/work/ghg/ghg/herald-rules/bi-review.json' },

scamden avatar May 02 '24 23:05 scamden