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

fix(scm): skipped map to failure for step status + remove deploy #1097

Merged
merged 4 commits into from
Mar 29, 2024

Conversation

ecrupper
Copy link
Contributor

Addressing this comment from the original PR to have steps that are skipped report as failures.

Also ignoring deployment events for step status reporting. We report the build status to the deployment rather than the commit, and given that there are not multiple deployment statuses, it makes sense to just ignore. This also prevents status limits to the same commit if a repo rarely makes changes but deploys often.

@ecrupper ecrupper requested a review from a team as a code owner March 29, 2024 14:33
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 63.27%. Comparing base (5af11c2) to head (e14823f).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1097   +/-   ##
=======================================
  Coverage   63.26%   63.27%           
=======================================
  Files         348      348           
  Lines       10600    10599    -1     
=======================================
  Hits         6706     6706           
+ Misses       3409     3407    -2     
- Partials      485      486    +1     
Files Coverage Δ
scm/github/repo.go 76.61% <60.00%> (+0.21%) ⬆️

timhuynh94
timhuynh94 previously approved these changes Mar 29, 2024
Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ecrupper ecrupper merged commit c5813f6 into main Mar 29, 2024
11 of 13 checks passed
@ecrupper ecrupper deleted the fix/step-status/skipped branch March 29, 2024 14:51
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.

3 participants