OSS-Docs-Tools / code-owner-self-merge

A GitHub Action for letting CODEOWNERS merge PRs via green PR reviews
MIT License
53 stars 16 forks source link

Codeowner crash #9

Open orta opened 4 years ago

orta commented 4 years ago

This is before we even do any work

(node:3743) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
8
    at validateString (internal/validators.js:112:11)
9
    at Object.normalize (path.js:1006:5)
10
    at trueCasePathSync (/home/runner/work/_actions/orta/code-owner-self-merge/master/node_modules/true-case-path/index.js:12:31)
11
    at new Codeowners (/home/runner/work/_actions/orta/code-owner-self-merge/master/node_modules/codeowners/codeowners.js:21:29)
12
    at commentOnMergablePRs (/home/runner/work/_actions/orta/code-owner-self-merge/master/index.js:36:14)
13
    at run (/home/runner/work/_actions/orta/code-owner-self-merge/master/index.js:14:5)
14
    at Object.<anonymous> (/home/runner/work/_actions/orta/code-owner-self-merge/master/index.js:222:5)
15
    at Module._compile (internal/modules/cjs/loader.js:959:30)
16
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
17
    at Module.load (internal/modules/cjs/loader.js:815
orta commented 4 years ago

https://github.com/microsoft/TypeScript-Website/runs/1052007433?check_suite_focus=true