| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| // GitHub new Check API | ||
| for (const { status, conclusion, app } of checkSuites.nodes) { | ||
| if (app && IGNORED_CHECK_SLUGS.includes(app.slug)) { | ||
| if (app.slug !== 'github-actions') { |
There was a problem hiding this comment.
| if (app.slug !== 'github-actions') { | |
| if (app && app.slug !== 'github-actions') { |
Sorry, something went wrong.
There was a problem hiding this comment.
| if (app.slug !== 'github-actions') { | |
| if (app?.slug !== 'github-actions') { |
a suggestion upon your suggestion
Sorry, something went wrong.
There was a problem hiding this comment.
I'm not sure this is needed.
Sorry, something went wrong.
Co-authored-by: Aviv Keller <redyetidev@gmail.com>
Now I don't understand:
|
Sorry, something went wrong.
One way is to apply the following diff and run git node land on a PR which head branch in on nodejs/node. diff --git a/lib/pr_checker.js b/lib/pr_checker.js
index 064c647..129b9a5 100644
--- a/lib/pr_checker.js
+++ b/lib/pr_checker.js
@@ -381,6 +381,7 @@ export default class PRChecker {
}
if (status !== 'COMPLETED') {
+ console.log(checkSuites.nodes);
cli.error('GitHub CI is still running');
return false;
}
@@ -395,6 +396,7 @@ export default class PRChecker {
if (commit.status) {
const { state } = commit.status;
if (state === 'PENDING') {
+ console.log(checkSuites.nodes);
cli.error('GitHub CI is still running');
return false;
} |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Implements #838 (comment). The problem has come back now that we have a new jenkins-node-js-ci (see nodejs/admin#916), and IMO it only makes sense to check for GHA-related jobs only when checking the state of the GitHub CI.