Skip to content

Commit

Permalink
fix: Update to use the new payload format.
Browse files Browse the repository at this point in the history
The old channel-id and slack-message variables are no longer available.
  • Loading branch information
feanil committed Dec 3, 2024
1 parent 7d3ad91 commit c2cff0f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/add-depr-ticket-to-depr-board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ jobs:
id: slack
uses: slackapi/[email protected]
with:
channel-id: CGB0S3L12
slack-message: "Incoming DEPR ticket: ${{ github.event.issue.title }}\nAuthor: ${{ github.event.issue.user.login }}\nURL: ${{ github.event.issue.html_url }}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: "CGB0S3L12"
text: "Incoming DEPR ticket: ${{ github.event.issue.title }}\nAuthor: ${{ github.event.issue.user.login }}\nURL: ${{ github.event.issue.html_url }}"

0 comments on commit c2cff0f

Please sign in to comment.