The Slack alert script carries the workspace's Slack integration id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bc5f93c2fa
commit
af5a8518c7
@@ -19,7 +19,7 @@ AUTH="Authorization: Bearer $SENTRY_TOKEN"
|
|||||||
# The Slack action takes the channel's ID as well as its name; the
|
# The Slack action takes the channel's ID as well as its name; the
|
||||||
# project's error detector is looked up by project id; a workflow is bound
|
# project's error detector is looked up by project id; a workflow is bound
|
||||||
# to its detectors by PUT after creation.
|
# to its detectors by PUT after creation.
|
||||||
SLACK_ID="${SENTRY_SLACK_INTEGRATION:-__SENTRY_SLACK_INTEGRATION__}"
|
SLACK_ID="${SENTRY_SLACK_INTEGRATION:-345334}"
|
||||||
: "${SLACK_CHANNEL_ID:?SLACK_CHANNEL_ID=C... is required (the Slack ID of the channel)}"
|
: "${SLACK_CHANNEL_ID:?SLACK_CHANNEL_ID=C... is required (the Slack ID of the channel)}"
|
||||||
CHANNEL_ID="$SLACK_CHANNEL_ID"
|
CHANNEL_ID="$SLACK_CHANNEL_ID"
|
||||||
PROJECT_ID="${SENTRY_PROJECT_ID:-__SENTRY_PROJECT_ID__}"
|
PROJECT_ID="${SENTRY_PROJECT_ID:-__SENTRY_PROJECT_ID__}"
|
||||||
|
|||||||
Reference in New Issue
Block a user