-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
E.g. this had a failure:
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git push --quiet --set-upstream origin bazel-steward/rules_go/0.53.0 --force
[main] ERROR org.virtuslab.bazelsteward.app.PullRequestManager - Failed to create branch bazel-steward/rules_go/0.53.0
java.lang.RuntimeException: /usr/bin/git push --quiet --set-upstream origin bazel-steward/rules_go/0.53.0 --force
remote: Permission to enola-dev/enola.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/enola-dev/enola/': The requested URL returned error: 403
at org.virtuslab.bazelsteward.core.common.CommandRunner$Companion.runForOutput(CommandRunner.kt:28)
at org.virtuslab.bazelsteward.core.common.CommandRunner$Companion$runForOutput$2.invokeSuspend(CommandRunner.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at org.virtuslab.bazelsteward.app.Main$Companion.main(Main.kt:14)
at org.virtuslab.bazelsteward.app.Main.main(Main.kt)
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git checkout --quiet main
yet the GitHub Action still reported as GREEN - all good.
In a perfect world, in order to noticed problems, it would be neat if error exit code propagation worked.
I'm not sure yet if the issue is that the CLI doesn't return != 0, or if it does but then the action does not notice that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels