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

fix: ignore codecov check suite #838

Merged
merged 3 commits into from
Aug 7, 2024
Merged

fix: ignore codecov check suite #838

merged 3 commits into from
Aug 7, 2024

Conversation

avivkeller
Copy link
Member

if (app && app.slug === 'dependabot') {
// Ignore Dependabot check suites. They are expected to show up
if (app && IGNORED_CHECK_SLUGS.includes(app.slug)) {
// Ignore app check suites. They are expected to show up
Copy link
Contributor

@aduh95 aduh95 Aug 7, 2024

Choose a reason for hiding this comment

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

Suggested change
// Ignore app check suites. They are expected to show up
// Ignore GitHub Apps check suites. They are expected to show up

That makes me think; should we filter only status for checks from {"slug":"github-actions"} instead of trying to maintain a list of Apps we have installed?

Copy link
Member

Choose a reason for hiding this comment

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

Might be fine as long as we don't require checks from other apps :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think just ignoring dependabot and codecov is fine for now, but if the project installs more apps, maybe then ignore all apps.

Copy link
Contributor

Choose a reason for hiding this comment

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

Well in this case, we should have the comment align with what the code is doing

Suggested change
// Ignore app check suites. They are expected to show up
// Ignore Dependabot and Codecov check suites. They are expected to show up

avivkeller and others added 2 commits August 7, 2024 06:54
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@aduh95 aduh95 merged commit d796dd5 into nodejs:main Aug 7, 2024
8 of 9 checks passed
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.

3 participants