Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
Avoid failing PRs on Discord sync errors
EtienneLescot5ed545b8d8c1
diff --git a/.github/workflows/discord.yaml b/.github/workflows/discord.yamlindex 152abbd67..950abae3d 100644--- a/.github/workflows/discord.yaml+++ b/.github/workflows/discord.yaml@@ -212,15 +212,10 @@ jobs:}if (!webhookUrl) {- const strictEvents = new Set(["pull_request_target", "workflow_dispatch"]);const msg =`Discord sync skipped: webhook secret unavailable for event '${context.eventName}'. ` +"Set either DISCORD_WEBHOOK_URL or DISCORD_PR_FORUM_WEBHOOK in repository secrets.";- if (strictEvents.has(context.eventName)) {- core.setFailed(msg);- } else {- core.warning(msg);- }+ core.warning(msg);return;}@@ -423,7 +418,7 @@ jobs:core.info(`Posted update to Discord thread ${threadId}.`);} catch (err) {const msg = err && err.message ? err.message : String(err);- core.setFailed(msg);+ core.warning(`Discord sync failed, but this optional automation will not block PR validation: ${msg}`);const alertWebhook = process.env.DISCORD_ALERT_WEBHOOK_URL;if (alertWebhook) {