From 8fefc6e2ac4a2359c456f467049e6794a2fb8fc4 Mon Sep 17 00:00:00 2001 From: Rachel Asquith Date: Mon, 8 Jan 2024 17:08:48 -0800 Subject: [PATCH] Make message format nicer --- .github/workflows/dot-org-filter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dot-org-filter.yml b/.github/workflows/dot-org-filter.yml index fe6126e..671be40 100644 --- a/.github/workflows/dot-org-filter.yml +++ b/.github/workflows/dot-org-filter.yml @@ -36,8 +36,8 @@ jobs: # Tokens and url are stored in the repository's secrets settings SLACK_CHANNEL_ID: ${{ secrets.DOT_ORG_SLACK_CHANNEL_ID }} SLACK_BOT_TOKEN: ${{ secrets.DOT_ORG_SLACK_BOT_TOKEN }} - SLACK_TITLE: "Issue with 'type-bug' label Detected" - SLACK_MESSAGE: "Title: ${{ github.event.issue.title }} - URL: ${{ github.event.issue.html_url }}" + SLACK_TITLE: "Anaconda.org Bug Issue Detected" + SLACK_MESSAGE: "An anaconda-issues issue was submitted with an anaconda.org bug.\nTitle: ${{ github.event.issue.title }}\nLink to Issue: ${{ github.event.issue.html_url }}" run: | response=$(curl -X POST -H 'Content-type: application/json' -H "Authorization: Bearer $SLACK_BOT_TOKEN" --data '{ "channel":"'"$SLACK_CHANNEL_ID"'",