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: minor bugs #508

Merged
merged 4 commits into from
Feb 25, 2021
Merged

fix: minor bugs #508

merged 4 commits into from
Feb 25, 2021

Conversation

shine2lay
Copy link
Member

Includes following minor changes:

  • Make review_request_fail_error a log info instead of error
  • add missing actionObj to deleteComment function
  • skip checkRun if ouptut field is not present or pull_request is empty

@codecov
Copy link

codecov bot commented Feb 18, 2021

Codecov Report

Merging #508 (2031997) into master (ee9e275) will increase coverage by 0.00%.
The diff coverage is 80.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #508   +/-   ##
=======================================
  Coverage   91.71%   91.71%           
=======================================
  Files          98       98           
  Lines        2148     2149    +1     
  Branches      403      404    +1     
=======================================
+ Hits         1970     1971    +1     
  Misses        154      154           
  Partials       24       24           
Impacted Files Coverage Δ
lib/actions/request_review.js 92.30% <0.00%> (ø)
lib/actions/comment.js 91.66% <100.00%> (ø)
lib/interceptors/checkReRun.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee9e275...2031997. Read the comment docs.

@@ -16,7 +16,7 @@ const createRequestReview = async (context, number, reviewers, actionObj) => {
action_name: actionObj.name
}

actionObj.log.error(JSON.stringify(errorLog))
actionObj.log.info(JSON.stringify(errorLog))
Copy link
Member

Choose a reason for hiding this comment

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

What is the reasoning for this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

because we are using info for other known errors as well

@shine2lay shine2lay merged commit f9f68a1 into mergeability:master Feb 25, 2021
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.

2 participants