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 3
3
namespace Github \Api \Repository \Checks ;
4
4
5
5
use Github \Api \AbstractApi ;
6
+ use Github \Api \AcceptHeaderTrait ;
6
7
7
8
/**
8
9
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks
9
10
*/
10
11
class CheckRuns extends AbstractApi
11
12
{
13
+ use AcceptHeaderTrait;
14
+
15
+ public function configure ()
16
+ {
17
+ $ this ->acceptHeaderValue = 'application/vnd.github.antiope-preview+json ' ;
18
+
19
+ return $ this ;
20
+ }
21
+
12
22
/**
13
23
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#create-a-check-run
14
24
*
Original file line number Diff line number Diff line change 3
3
namespace Github \Api \Repository \Checks ;
4
4
5
5
use Github \Api \AbstractApi ;
6
+ use Github \Api \AcceptHeaderTrait ;
6
7
7
8
/**
8
9
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks
9
10
*/
10
11
class CheckSuites extends AbstractApi
11
12
{
13
+ use AcceptHeaderTrait;
14
+
15
+ public function configure ()
16
+ {
17
+ $ this ->acceptHeaderValue = 'application/vnd.github.antiope-preview+json ' ;
18
+
19
+ return $ this ;
20
+ }
21
+
12
22
/**
13
23
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#create-a-check-suite
14
24
*
You can’t perform that action at this time.
0 commit comments