Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stormwarning/action-release-notification
🗣️ Send a notification when a new release is published
https://github.com/stormwarning/action-release-notification
action notification release slack workflow
Last synced: 19 days ago
JSON representation
🗣️ Send a notification when a new release is published
- Host: GitHub
- URL: https://github.com/stormwarning/action-release-notification
- Owner: stormwarning
- License: isc
- Created: 2020-02-24T19:07:59.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T04:05:20.000Z (over 2 years ago)
- Last Synced: 2024-03-14T13:42:44.666Z (10 months ago)
- Topics: action, notification, release, slack, workflow
- Language: TypeScript
- Homepage:
- Size: 1.8 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 🗣️ Release notification
Send a notification when a new release is published. Keep your team in the loop!
## Usage
Add this action to your release workflow
```yml
# release.ymlon:
release:
types: [published]jobs:
notification:
runs-on: ubuntu-latest
steps:
- name: Release notification
uses: stormwarning/action-release-notification@v1
with:
channel: releases
message: A new version is out!
actions: '[{"text": "View changelog 🎉", "url": "CHANGELOG.md"},{"text": "View docs 📚", "url": "https://foo.com"}]'
env:
SLACKBOT_TOKEN: ${{ secrets.SLACKBOT_TOKEN }}
```The `actions` key is optional. It should be a JSON string with an array of
objects containing a `text` key and either a `url` or `action` key (GitHub
action config currently only allows for string options, not arrays).