GitHub Action
Slack Release Notifier
v3.0.2
Latest version
Simple action to notify a slack channel after a new version of a project has been released.
To be able to send the notification, a webhook url needs to be provided. You can get one by installing the app Incoming WebHooks into your slack workspace.
workflow.yml
name: Release
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Notify Slack
id: slack
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: fedecalendino/slack-release-notifier@v3.0.2
workflow.yml
name: Release
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Notify Slack
id: slack
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
slack_button_text: "open in pypi"
slack_button_url: "https://pypi.com"
slack_button_emoji: ":pypi:"
uses: fedecalendino/slack-release-notifier@v3.0.2