From 0d9a368f5cae674d371bf55110a71dd7f7fd5230 Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Mon, 25 Sep 2023 17:28:17 +0200 Subject: [PATCH] lib: update `mkGithubStatus` --- lib/github/mkGithubStatus.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/github/mkGithubStatus.nix b/lib/github/mkGithubStatus.nix index a130e37b..4101f2d5 100644 --- a/lib/github/mkGithubStatus.nix +++ b/lib/github/mkGithubStatus.nix @@ -26,12 +26,13 @@ in { flake_locked=$(echo "$input" | jq '.input.flake_locked' -r) job=$(echo "$input" | jq '.input.job' -r) status=$(echo "$input" | jq '.input.status' -r) + system=$(echo "$input" | jq '.input.system' -r) token=$(echo "$input" | jq '.secrets.github_token' -r) rev=$(echo "$flake_locked" | sed 's/github:.*\/.*\/\(.*\)/\1/') target_url="$(echo "$data" | jq '.url' -r)/builds/$build" - context="Typhon: ${system} / $job" + context="Typhon: $system / $job" case $status in "error") state="failure"