Fix URL reference for event

The field reference for the event URL was wrong.
This commit is contained in:
Mats Kindahl 2024-03-07 13:45:26 +01:00 committed by Mats Kindahl
parent c07decfe94
commit a8666d0105

View File

@ -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