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

Allow to filter builds by event type #169

Open
simleo opened this issue Nov 4, 2021 · 0 comments
Open

Allow to filter builds by event type #169

simleo opened this issue Nov 4, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@simleo
Copy link
Member

simleo commented Nov 4, 2021

It would be useful to add a "filter-by-event-type" (e.g., push, pull request, ...) feature to our API endpoint for getting test builds. A common use case would be to filter out PR builds, since they're more likely to fail while the PR is being fine-tuned. PyGithub's WorkflowRun objects have an event attribute that should do the trick (values can be push, pull_request, etc.), at least for GitHub builds.

@simleo simleo added the enhancement New feature or request label Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant