✖ Loading commits...
TypeError: Cannot read property 'target' of null
at Object.fetchCommitsByAuthor (/Users/rkorving/Projects/redacted/node_modules/backport/dist/services/github/fetchCommitsByAuthor.js:95:31)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
2019-10-08T07:56:48.850Z verbose: {
"repoOwner": "redacted-but-correct",
"repoName": "redacted-but-correct",
"commitsCount": 10,
"authorId": "redacted-but-some-correct-looking-hash",
"historyPath": null
}
2019-10-08T07:56:49.303Z verbose: {
"data": {
"repository": {
"ref": null
}
}
}
I use github.com, a private repo, and I know I have commits in its history.
I enabled these scopes when creating a token for it:
{
"upstream": "myorg/myrepo",
"branches": ["v0-master"],
"all": true,
"fork": true,
"multipleCommits": true,
"multipleBranches": true,
"labels": ["backport"]
}
Backport v4.7.3.