Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a0c15 commit 8a0249cCopy full SHA for 8a0249c
1 file changed
.github/workflows/release.yml
@@ -71,6 +71,12 @@ jobs:
71
PUBLISHED_PACKAGES: ${{ steps.changesets.outputs.publishedPackages }}
72
IS_TEST: ${{ inputs.test_discord == true }}
73
run: |
74
+ # Check if webhook URL is configured
75
+ if [ -z "$DISCORD_WEBHOOK_URL" ]; then
76
+ echo "::warning::DISCORD_WEBHOOK_URL secret is not configured. Skipping Discord notification."
77
+ exit 0
78
+ fi
79
+
80
# Determine if this is a test run
81
if [ "$IS_TEST" = "true" ]; then
82
TEST_PREFIX="[TEST] "
0 commit comments