Skip to content

docs: Add clarifications for mergeable field in pull requests #3396

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

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

acouvreur
Copy link
Contributor

Comparing the OpenAPI spec for pull requests shows that these fields are not populated when listing (right), but they are through GET or webhook:
image

In their OpenAPI Spec they have pull-request and pull-request-simple definitions.

I think that would make sense to also have these structs instead of relying on comments for contextual field population.

@gmlewis gmlewis changed the title docs: add clarifications for mergeable field in pull requests docs: Add clarifications for mergeable field in pull requests Dec 21, 2024
@acouvreur acouvreur force-pushed the add-mergeable-clarifications branch from d505fe2 to ca738b7 Compare December 27, 2024 18:12
@acouvreur
Copy link
Contributor Author

It is now one single block comment @gmlewis

@gmlewis
Copy link
Collaborator

gmlewis commented Dec 27, 2024

Please run the scripts listed in step 4 of CONTRIBUTING.md and push the changes. That should fix the linter and tests.

@gmlewis
Copy link
Collaborator

gmlewis commented Jan 22, 2025

I will close this PR around the end of January, 2025 as "abandoned" if there is no further response.

@acouvreur acouvreur force-pushed the add-mergeable-clarifications branch from ca738b7 to dd2c798 Compare January 30, 2025 15:05
@acouvreur
Copy link
Contributor Author

I will close this PR around the end of January, 2025 as "abandoned" if there is no further response.

Done just in time :)

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.03%. Comparing base (7783310) to head (dd2c798).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3396   +/-   ##
=======================================
  Coverage   91.03%   91.03%           
=======================================
  Files         179      179           
  Lines       15535    15535           
=======================================
  Hits        14142    14142           
  Misses       1221     1221           
  Partials      172      172           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @acouvreur !
LGTM.
Merging.

@gmlewis gmlewis merged commit cbe65f0 into google:master Jan 30, 2025
7 checks passed
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