Skip to content

Conversation

@HerrDerb
Copy link
Contributor

@HerrDerb HerrDerb commented May 8, 2025

Description

Currently the GHWorkflowRunQueryBuilder is only available in GHRepository which does not allow to use the query builder for a specific workflow.

By adding it to GHWorkflow and extend the GHWorkflowRunQueryBuilder to also be usable for a specific workflow id one can query a specific workflow, being more efficient

@codecov
Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 84.94%. Comparing base (362faaf) to head (3d3636e).

Files with missing lines Patch % Lines
.../org/kohsuke/github/GHWorkflowRunQueryBuilder.java 44.44% 4 Missing and 1 partial ⚠️
src/main/java/org/kohsuke/github/GHWorkflow.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2101      +/-   ##
============================================
- Coverage     85.01%   84.94%   -0.08%     
  Complexity     2493     2493              
============================================
  Files           237      237              
  Lines          7349     7358       +9     
  Branches        388      388              
============================================
+ Hits           6248     6250       +2     
- Misses          871      877       +6     
- Partials        230      231       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@HerrDerb HerrDerb marked this pull request as draft May 8, 2025 12:58
@HerrDerb
Copy link
Contributor Author

@bitwiseman I need to fix/add the tests in a quite minute :)

@HerrDerb
Copy link
Contributor Author

I am going to close this as not needed anymore

@HerrDerb HerrDerb closed this Jun 26, 2025
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