Skip to content

handle multiple failed status checks of same name#851

Draft
chdsbd wants to merge 3 commits intomasterfrom
chris/multiple-same-name-checks
Draft

handle multiple failed status checks of same name#851
chdsbd wants to merge 3 commits intomasterfrom
chris/multiple-same-name-checks

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

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