Skip to content

Commit d4f1dfc

Browse files
committed
fix: Explain necessary confirmation in GitHub side
According to discussion in the following issue, we found that it is necessary to enable three event types. readthedocs/readthedocs.org#5135
1 parent c4c5a5a commit d4f1dfc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rtd.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ export default class RTD {
149149
}
150150
if (checkbox == null) {
151151
throw new Error(`:sob: Failed to visit version page at ${url}. ` +
152-
"Please make sure you have enabled GitHub integration in your RTD project.");
152+
"Please make sure you have enabled GitHub integration in your RTD project. " +
153+
"Also confirm that [you selected three event types](https://docs.readthedocs.io/en/latest/webhooks.html#github) in GitHub config page.");
153154
}
154155
const checked = await (await checkbox.getProperty("checked")).jsonValue();
155156
return checked;

0 commit comments

Comments
 (0)