Skip to content

Create GH Issue when upstream releases new version

Actions
Create GH Issue when upstream releases new version
v2.1
Latest
Star (6)

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.

Create GH Issue when upstream releases new version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Create GH Issue when upstream releases new version
v2.1
Latest

Create GH Issue when upstream releases new version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.