commit 9a03179e5bae471defc4c1c455381e1d0ddcbced
parent 14a760cfa0c4823e74bd5d0a6a408072e3974449
Author: iostpa <iostpa@iostpa.com>
Date: Tue, 3 Mar 2026 20:31:03 +0200
Remove since GitHub is pissing me off
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/index.js b/index.js
@@ -18,7 +18,7 @@ const secret = process.env.WEBHOOK_SECRET;
const newPRs = fs.readFileSync('./message/opened.md', 'utf8');
const mergedPRs = fs.readFileSync('./message/merged.md', 'utf8');
const draftPRs = fs.readFileSync('./message/draft.md', 'utf8');
-const success = fs.readFileSync('./message/success.md', 'utf8');
+//const success = fs.readFileSync('./message/success.md', 'utf8');
Sentry.init({
dsn: sentryDsn,
@@ -99,6 +99,7 @@ app.webhooks.on('pull_request.closed', async ({ octokit, payload }) => {
}
});
+/*
// Check if the workflow ran succesfully
app.webhooks.on('workflow_run.completed', async ({ octokit, payload }) => {
try {
@@ -186,6 +187,7 @@ ${finalLogs.join('\n').replace(/</g, '<').replace(/>/g, '>')}
}
}
});
+*/
// Handle errors
app.webhooks.onError((error) => {