From bf96f1dc8993bee61cdc3f6c75bb1079efc47ab9 Mon Sep 17 00:00:00 2001 From: Robert Brennan Date: Mon, 8 Aug 2022 18:07:50 -0400 Subject: [PATCH] Update triage.yml --- .github/workflows/triage.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index bc3759a7..e4ddb165 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -13,13 +13,13 @@ jobs: - name: Slack Notification run: | curl -X POST "${{ secrets.SLACK_INCOMING_WEBHOOK }}" -H "Content-type: application/json" -d '{ - "text": "Danny Torrence left a 1 star review for your property.", + "text": "New ${{ github.event_name }}", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", - "text": "Danny Torrence left the following review for your property:" + "text": "${{ github.event.issue.title }}\n\n$github.com/{{ github.event.repository.name }}/issues/${{ github.event.issue.id }}" } }, { @@ -47,8 +47,3 @@ jobs: } ] }' - - env: - SLACK_INCOMING_WEBHOOK: ${{ secrets.SLACK_INCOMING_WEBHOOK }} - SLACK_TITLE: 'New issue for ${{ github.event.repository.name }}' - SLACK_MESSAGE: '${{ github.event.issue.title }}\n\n$github.com/{{ github.event.repository.name }}/issues/${{ github.event.issue.id }}'