Skip to content

Updating the prod plugin update frequency (#1333) #19

Updating the prod plugin update frequency (#1333)

Updating the prod plugin update frequency (#1333) #19

Workflow file for this run

# This workflow runs on every release to comment on all PRs included in the release and to notify slack.
name: Release Notify
on:
push:
tags:
- "v*"
jobs:
pr-release-comment:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Comment on PRs
uses: actions/github-script@v6
with:
script: |
const commentOnPRs = require('./.github/pr-release-comment');
commentOnPRs({github, context, core});
slack-notify:
runs-on: ubuntu-22.04
steps:
- name: Notify Slack of Release
uses: slackapi/[email protected]
with:
payload: |
{
"text": "${{ github.ref_name }} of napari-hub.org has been released. See the <https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}|release notes> for more information."
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_PROJ_SCI_IMAGING_NAPARI_HUB }}