From a8666d0105cd6007d28971929c47e598814f5e08 Mon Sep 17 00:00:00 2001 From: Mats Kindahl Date: Thu, 7 Mar 2024 13:45:26 +0100 Subject: [PATCH] Fix URL reference for event The field reference for the event URL was wrong. --- .github/workflows/issue-handling.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-handling.yaml b/.github/workflows/issue-handling.yaml index 6e8a27d64..8383917dd 100644 --- a/.github/workflows/issue-handling.yaml +++ b/.github/workflows/issue-handling.yaml @@ -45,7 +45,7 @@ jobs: - name: Generate message run: | - gh api ${{ github.url }} --template='{"channel": $SLACK_CHANNEL, "text": "Issue <{{.url}}|#{{.number}} {{.title}}> needs attention"}' >message.json + gh api ${{ github.event.issue.url }} --template='{"channel": $SLACK_CHANNEL, "text": "Issue <{{.url}}|#{{.number}} {{.title}}> needs attention"}' >message.json - name: Send slack message uses: krider2010/slack-bot-action@1.0.1