@taskcluster/client-web 92.0.1 → 93.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/clients/Github.js +0 -10
package/package.json
CHANGED
package/src/clients/Github.js
CHANGED
|
@@ -13,7 +13,6 @@ export default class Github extends Client {
|
|
|
13
13
|
this.ping.entry = {"args":[],"category":"Monitoring","method":"get","name":"ping","query":[],"route":"/ping","stability":"stable","type":"function"}; // eslint-disable-line
|
|
14
14
|
this.lbheartbeat.entry = {"args":[],"category":"Monitoring","method":"get","name":"lbheartbeat","query":[],"route":"/__lbheartbeat__","stability":"stable","type":"function"}; // eslint-disable-line
|
|
15
15
|
this.version.entry = {"args":[],"category":"Monitoring","method":"get","name":"version","query":[],"route":"/__version__","stability":"stable","type":"function"}; // eslint-disable-line
|
|
16
|
-
this.githubWebHookConsumer.entry = {"args":[],"category":"Github Service","method":"post","name":"githubWebHookConsumer","query":[],"route":"/github","stability":"stable","type":"function"}; // eslint-disable-line
|
|
17
16
|
this.builds.entry = {"args":[],"category":"Github Service","method":"get","name":"builds","output":true,"query":["continuationToken","limit","organization","repository","sha","pullRequest"],"route":"/builds","scopes":"github:list-builds","stability":"stable","type":"function"}; // eslint-disable-line
|
|
18
17
|
this.cancelBuilds.entry = {"args":["owner","repo"],"category":"Github Service","method":"post","name":"cancelBuilds","output":true,"query":["sha","pullRequest"],"route":"/builds/<owner>/<repo>/cancel","scopes":"github:cancel-builds:<owner>:<repo>","stability":"stable","type":"function"}; // eslint-disable-line
|
|
19
18
|
this.badge.entry = {"args":["owner","repo","branch"],"category":"Github Service","method":"get","name":"badge","query":[],"route":"/repository/<owner>/<repo>/<branch>/badge.svg","scopes":"github:get-badge:<owner>:<repo>:<branch>","stability":"experimental","type":"function"}; // eslint-disable-line
|
|
@@ -52,15 +51,6 @@ export default class Github extends Client {
|
|
|
52
51
|
return this.request(this.version.entry, args);
|
|
53
52
|
}
|
|
54
53
|
/* eslint-disable max-len */
|
|
55
|
-
// Capture a GitHub event and publish it via pulse, if it's a push,
|
|
56
|
-
// release, check run or pull request.
|
|
57
|
-
/* eslint-enable max-len */
|
|
58
|
-
githubWebHookConsumer(...args) {
|
|
59
|
-
this.validate(this.githubWebHookConsumer.entry, args);
|
|
60
|
-
|
|
61
|
-
return this.request(this.githubWebHookConsumer.entry, args);
|
|
62
|
-
}
|
|
63
|
-
/* eslint-disable max-len */
|
|
64
54
|
// A paginated list of builds that have been run in
|
|
65
55
|
// Taskcluster. Can be filtered on various git-specific
|
|
66
56
|
// fields.
|