File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
lib/Github/Api/Repository/Checks Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 33namespace Github \Api \Repository \Checks ;
44
55use Github \Api \AbstractApi ;
6+ use Github \Api \AcceptHeaderTrait ;
67
78/**
89 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks
910 */
1011class CheckRuns extends AbstractApi
1112{
13+ use AcceptHeaderTrait;
14+
15+ public function configure ()
16+ {
17+ $ this ->acceptHeaderValue = 'application/vnd.github.antiope-preview+json ' ;
18+
19+ return $ this ;
20+ }
21+
1222 /**
1323 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#create-a-check-run
1424 *
Original file line number Diff line number Diff line change 33namespace Github \Api \Repository \Checks ;
44
55use Github \Api \AbstractApi ;
6+ use Github \Api \AcceptHeaderTrait ;
67
78/**
89 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks
910 */
1011class CheckSuites extends AbstractApi
1112{
13+ use AcceptHeaderTrait;
14+
15+ public function configure ()
16+ {
17+ $ this ->acceptHeaderValue = 'application/vnd.github.antiope-preview+json ' ;
18+
19+ return $ this ;
20+ }
21+
1222 /**
1323 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#create-a-check-suite
1424 *
You can’t perform that action at this time.
0 commit comments