hub4j / github-api

Java API for GitHub
https://github-api.kohsuke.org/
MIT License
1.12k stars 715 forks source link

Added all possible status values from GH api spec. #1885

Closed mpetris closed 6 days ago

mpetris commented 1 week ago

Added all possible github workflow run status values specified in https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28

Description

The Github REST API allows more values than available in the Status enum for GitWorkflowRuns.

Before submitting a PR:

When creating a PR:

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.05%. Comparing base (e8c6beb) to head (5a4a53e). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1885 +/- ## ============================================ + Coverage 80.79% 81.05% +0.25% - Complexity 2417 2442 +25 ============================================ Files 233 237 +4 Lines 7264 7342 +78 Branches 398 398 ============================================ + Hits 5869 5951 +82 + Misses 1148 1145 -3 + Partials 247 246 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.