Skip to content

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

License

Notifications You must be signed in to change notification settings

maheshrayas/action-release-notifier

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 for the guidance and improvements.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published