0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-27 05:09:37 +00:00
renovatebot_renovate/.github/workflows/mend-slack.yml
renovate[bot] 4b58a7251a
chore(deps): update slackapi/slack-github-action action to v2
| datasource  | package                      | from    | to     |
| ----------- | ---------------------------- | ------- | ------ |
| github-tags | slackapi/slack-github-action | v1.27.1 | v2.0.0 |
2025-01-11 15:25:50 +00:00

23 lines
628 B
YAML

name: 'Mend Slack Notifier'
on:
discussion:
types: [labeled]
permissions:
discussions: read
jobs:
slack:
if: contains(github.event.label.name, 'mend-app')
runs-on: ubuntu-latest
steps:
- name: Post to Slack
id: slack
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
with:
channel-id: 'C05NLTMGCJC'
# For posting a simple plain text message
slack-message: '<${{ github.event.discussion.html_url }}|${{ github.event.discussion.title }}>'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}