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

handle multiple failed status checks of same name #851

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chdsbd
Copy link
Owner

@chdsbd chdsbd commented Oct 19, 2022

related: #688

app {
databaseId
}
workflowRun {
Copy link
Owner Author

Choose a reason for hiding this comment

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

will be null if we don't have permission. We currently don't have access. We need to request new permissions

@@ -275,7 +275,22 @@ def review_status(reviews: List[PRReview]) -> PRReviewState:


def deduplicate_check_runs(check_runs: Iterable[CheckRun]) -> Iterable[CheckRun]:
check_run_map = {check_run.name: check_run for check_run in check_runs}
"""
unique by name, workflow databaseId, app
Copy link
Owner Author

@chdsbd chdsbd Oct 20, 2022

Choose a reason for hiding this comment

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

this is sooooooo complicated. GitHub Actions can create multiple check suites for the same workflow instead of just creating a new check run in the same check suite :(

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.

1 participant