Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maheshrayas/action-release-notifier

Github action to get notified when an open-source Github project releases a new version
https://github.com/maheshrayas/action-release-notifier

Last synced: 15 days ago
JSON representation

Github action to get notified when an open-source Github project releases a new version

Awesome Lists containing this project

README

        


action-release-notifier






## Motivation

Since most of applications these days rely on upstream opensource Github Projects, we needed a way to get notificed when a new release of upstream was done and easily configured to any number of github projects using Github Actions.

## Configuration in GHA workflow

```bash
name: release-notifier

on:
workflow_dispatch: null
schedule:
# Scheduled everyday At 00:00
- cron: '0 0 * * *'

jobs:
clean:
runs-on: ubuntu-latest
steps:
- name: release-notifier-gh
uses: maheshrayas/[email protected]
with:
github_token: '${{ secrets.GITHUB_TOKEN }}'
type: Github
repo: 'https://github.com/kubernetes/kubernetes,https://github.com/kubernetes-sigs/kustomize,https://github.com/helm/helm,https://github.com/istio/istio'
days: 1 #optional field, default 1 day, , make sure you set the cron appropriately, Example if you want to check for release once in 7 days, set days: 7 and cron schedule to run once in 7 days
labels: 'release'

- name: release-notifier-rss
uses: maheshrayas/[email protected]
with:
github_token: '${{ secrets.GITHUB_TOKEN }}'
type: Rss
repo: 'https://cloud.google.com/feeds/anthosconfig-release-notes.xml'
days: 1 #optional field, default 1 day, , make sure you set the cron appropriately, Example if you want to check for release once in 7 days, set days: 7 and cron schedule to run once in 7 days
labels: 'release,google'
```

## Notification

* GH Issue : A Github Issue would be created in the configured repo stating about the new release that found.
* Slack Notification : TODO

## Credits

[Michael Fornaro](https://github.com/xUnholy) for the guidance and improvements.