You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set scm.PR.Sha to scm.PR.Head.Sha when loading from disk.
This guarantee is made when retrieving a PR from a provider, but we do not persist
that guarantee when roundtripping from disk.
Do not panic if Timeout is nil
`TaskRun` and `PipelineRun` should have a default Timeout set by the
webhook. That said, if the webhook didn't do its work, or the object
where created before those webhook defaults, it could be nil and makes
the controller panicking.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
(cherry picked from commit 4cd1d52)