-
Notifications
You must be signed in to change notification settings - Fork 114
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
Conversation
lib/pr_checker.js
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// 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?
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
// Ignore app check suites. They are expected to show up | |
// Ignore Dependabot and Codecov check suites. They are expected to show up |
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Ref https://openjs-foundation.slack.com/archives/C019MGJQ8RH/p1722871958000979