Skip to content

Commit

Permalink
Andrey hura/fix status output (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-hura authored Dec 10, 2024
1 parent 1768791 commit 2ccef54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func main() {
}
if strings.Contains(commands, "getStatuses") {
verifyPluginParameters([]string{"PLUGIN_REF"})
listStatusChecks(client, &ctx, repositoryName, repositoryOwner, os.Getenv("PLUGIN_REF"))
fields := listStatusChecks(client, &ctx, repositoryName, repositoryOwner, os.Getenv("PLUGIN_REF"))
writeResult(*results, fields)
}
if strings.Contains(commands, "mergePr") {
verifyPluginParameters([]string{"PLUGIN_PR_NUMBER"})
Expand Down

0 comments on commit 2ccef54

Please sign in to comment.