You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
body += `\n**Note**: These failures don't necessarily block the PR but both authors and reviewers should check the results for unintentional breaking changes.\n[View Logs]()\n`;
86
-
87
-
// Post the failure comment
88
-
await github.rest.issues.createComment({
89
-
issue_number: context.issue.number,
90
-
owner: context.repo.owner,
91
-
repo: context.repo.repo,
92
-
body: body
93
-
});
94
-
95
-
// Fail the job to show a red X
96
-
core.setFailed("One or more pyQuil checks failed.");
97
-
} else { // or post success
98
-
let body = `✅ **pyQuil Compatibility Checks Passed** on Python \`${{ matrix.python-version }}\`. Great job!`;
99
-
100
-
// Post the success comment
101
-
await github.rest.issues.createComment({
102
-
issue_number: context.issue.number,
103
-
owner: context.repo.owner,
104
-
repo: context.repo.repo,
105
-
body: body
106
-
});
111
+
body += `\n**Note**: These failures don't necessarily block the PR but both authors and reviewers should check the results for unintentional breaking changes.\n[View Logs](${ constructLogURL })\n`;
112
+
}
113
+
else {
114
+
body += `✅ **pyQuil Compatibility Checks Passed**. Great job!`;
0 commit comments