Cronのトリガー
既存のcronタスクをトリガーします。このAPIには、リポジトリへの書き込みアクセスが必要であることに注意してください。
POST /api/repos/{owner}/{repo}/cron/{name}
レスポンス本文の例:
1 {
2 "id": 100207,
3 "repo_id": 296163,
4 "trigger": "@cron",
5 "number": 42,
6 "status": "pending",
7 "event": "cron",
8 "action": "",
9 "link": "https://github.com/octocat/hello-world/compare/e3320539a4c0...9fc1ad6ebf12",
10 "timestamp": 0,
11 "message": "updated README",
12 "before": "",
13 "after": "9fc1ad6ebf12462f3f9773003e26b4c6f54a772e",
14 "ref": "refs/heads/master",
15 "source_repo": "",
16 "source": "",
17 "target": "master",
18 "author_login": "octocat",
19 "author_name": "The Octocat",
20 "author_email": "octocat@github.com",
21 "author_avatar": "http://www.gravatar.com/avatar/7194e8d48fa1d2b689f99443b767316c",
22 "sender": "octocat",
23 "cron": "weekly-update-check",
24 "started": 0,
25 "finished": 0,
26 "created": 1609336029,
27 "updated": 1609336029,
28 "version": 1
29 }