stale
stale copied to clipboard
How to troubleshoot context.github.repos.getContent is not a function
Hi,
I have several probot running as a combined one.
From the stack trace, my guess is the error might come from stale.
Since https://github.com/probot/probot-config is archived, shall we also remove this dependency?
09:02:48.274Z ERROR event: context.github.repos.getContent is not a function (id=08cd5580-0945-11eb-92c3-e815a7d005e4)
TypeError: context.github.repos.getContent is not a function
at loadYaml (/app/node_modules/probot-config/index.js:28:49)
at getConfig (/app/node_modules/probot-config/index.js:91:24)
at forRepository (/app/node_modules/stale/index.js:54:24)
at unmark (/app/node_modules/stale/index.js:25:27)
at Application.<anonymous> (/app/node_modules/probot/lib/application.js:157:50)
at step (/app/node_modules/probot/lib/application.js:44:23)
at Object.next (/app/node_modules/probot/lib/application.js:25:53)
at fulfilled (/app/node_modules/probot/lib/application.js:16:58)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
--
event: {
"event": "pull_request.edited",
"id": "08cd5580-0945-11eb-92c3-e815a7d005e4",
"installation": 146,
"repository": "dsx/uberbot"
}
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?