Fix zizmor warning with `dorny/path-filter`. (#23395)