Skip to content

Commit

Permalink
lib: update mkGithubStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Sep 25, 2023
1 parent 4ee78b6 commit 0d9a368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/github/mkGithubStatus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0d9a368

Please sign in to comment.