Skip to content

Commit

Permalink
lib: update github status message
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Sep 24, 2023
1 parent adea1ab commit 44ac517
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/github/mkGithubStatus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,14 @@ in {
evaluation=$(echo "$input" | jq '.input.evaluation' -r)
flake_locked=$(echo "$input" | jq '.input.flake_locked' -r)
job=$(echo "$input" | jq '.input.job' -r)
jobset=$(echo "$input" | jq '.input.jobset' -r)
project=$(echo "$input" | jq '.input.project' -r)
status=$(echo "$input" | jq '.input.status' -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: $job"
description="$project:$jobset:$evaluation:$job"
context="Typhon: ${system} / $job"
description="Nix-based continuous integration"
case $status in
"error")
state="failure"
Expand Down

0 comments on commit 44ac517

Please sign in to comment.