Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Github/Api/Organization.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function teams()
*/
public function secrets(): Secrets
{
return new Secrets($this->client);
return new Secrets($this->getClient());
}

/**
Expand Down
12 changes: 6 additions & 6 deletions lib/Github/Api/Repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,47 +359,47 @@ public function checkSuites(): CheckSuites
*/
public function artifacts(): Artifacts
{
return new Artifacts($this->client);
return new Artifacts($this->getClient());
}

/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflows
*/
public function workflows(): Workflows
{
return new Workflows($this->client);
return new Workflows($this->getClient());
}

/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflow-runs
*/
public function workflowRuns(): WorkflowRuns
{
return new WorkflowRuns($this->client);
return new WorkflowRuns($this->getClient());
}

/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflow-jobs
*/
public function workflowJobs(): WorkflowJobs
{
return new WorkflowJobs($this->client);
return new WorkflowJobs($this->getClient());
}

/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#self-hosted-runners
*/
public function selfHostedRunners(): SelfHostedRunners
{
return new SelfHostedRunners($this->client);
return new SelfHostedRunners($this->getClient());
}

/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#secrets
*/
public function secrets(): Secrets
{
return new Secrets($this->client);
return new Secrets($this->getClient());
}

/**
Expand Down