Skip to content

Conversation

@sathish-kumar-subramani
Copy link
Contributor

When start_line and end_line have different values & start_column or end_column has value, then Github API throws the following error while creating or updating a Check-run

HTTP 422: {"resource":"CheckRun","code":"invalid","field":"annotations"}

When start_line and end_line have different values &
start_column or end_column has value, then Github API throws the
following error while creating or updating a Check-run

`HTTP 422: {"resource":"CheckRun","code":"invalid","field":"annotations"}`
@codecov
Copy link

codecov bot commented Jan 2, 2023

Codecov Report

Merging #125 (1715cda) into master (6d91e8d) will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #125      +/-   ##
============================================
+ Coverage     73.59%   73.77%   +0.17%     
- Complexity      253      256       +3     
============================================
  Files            40       40              
  Lines           890      896       +6     
  Branches         40       41       +1     
============================================
+ Hits            655      661       +6     
  Misses          210      210              
  Partials         25       25              
Impacted Files Coverage Δ
.../java/com/spotify/github/v3/checks/Annotation.java 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@dziemba dziemba left a comment

Choose a reason for hiding this comment

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

Nice!

@sathish-kumar-subramani sathish-kumar-subramani merged commit 8e06622 into master Jan 3, 2023
@sathish-kumar-subramani sathish-kumar-subramani deleted the normalize-annotation-column-fields branch January 3, 2023 10:13
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