Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance(api/webhook): update hook status to skipped when build is skipped #993

Merged
merged 5 commits into from
Oct 27, 2023

Conversation

ecrupper
Copy link
Contributor

Oftentimes, users will have their pipeline steps purged completely, and the hook's successful status in addition to the lack of any messaging leads to confusion. End result of these changes would be something like this:

Screenshot 2023-10-26 at 1 11 04 PM

The above provides a clear path forward for users.

@ecrupper ecrupper self-assigned this Oct 26, 2023
@ecrupper ecrupper requested a review from a team as a code owner October 26, 2023 18:13
claire1618
claire1618 previously approved these changes Oct 26, 2023
timhuynh94
timhuynh94 previously approved these changes Oct 26, 2023
@timhuynh94
Copy link
Contributor

Looks like test failed!

@ecrupper ecrupper dismissed stale reviews from timhuynh94 and claire1618 via 3dfc0e4 October 26, 2023 19:16
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #993 (84832d9) into main (e12a3dd) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #993   +/-   ##
=======================================
  Coverage   70.36%   70.36%           
=======================================
  Files         315      315           
  Lines       13199    13199           
=======================================
  Hits         9288     9288           
  Misses       3444     3444           
  Partials      467      467           
Files Coverage Δ
api/build/skip.go 100.00% <100.00%> (ø)

timhuynh94
timhuynh94 previously approved these changes Oct 26, 2023
api/build/skip.go Outdated Show resolved Hide resolved
@ecrupper ecrupper merged commit 262d7f0 into main Oct 27, 2023
12 checks passed
@ecrupper ecrupper deleted the enhance/hooks/skip-status branch October 27, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants