forked from kemitix/git-next
fix: github: use correct url to check CI status
There was a stray $ in the string interpolation (blame working on Typescript for other projects) and the wrong query path.
This commit is contained in:
parent
8609652928
commit
46e2871e17
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ pub async fn status(github: &github::Github, commit: &git::Commit) -> git::forge
|
||||||
use secrecy::ExposeSecret;
|
use secrecy::ExposeSecret;
|
||||||
let token = api_token.expose_secret();
|
let token = api_token.expose_secret();
|
||||||
let url = network::NetUrl::new(format!(
|
let url = network::NetUrl::new(format!(
|
||||||
"https://api.github.com/repos/${repo_path}/commits/{commit}/check-runs"
|
"https://api.github.com/repos/{repo_path}/commits/{commit}/statuses"
|
||||||
));
|
));
|
||||||
|
|
||||||
let headers = network::NetRequestHeaders::new()
|
let headers = network::NetRequestHeaders::new()
|
||||||
|
|
Loading…
Reference in a new issue