Skip to content

Commit cd1b74b

Browse files
committed
Bugfix
1 parent b987f19 commit cd1b74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repository/Actions/WorkflowRuns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,6 @@ public function deleteLogs(string $username, string $repository, int $runId)
150150
*/
151151
public function approve(string $username, string $repository, int $runId)
152152
{
153-
return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/actions/runs/'.$runId.'/approve');
153+
return $this->post('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/actions/runs/'.$runId.'/approve');
154154
}
155155
}

0 commit comments

Comments
 (0)