reduce page transition network errors (#1296) #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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-latest | |
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-latest | |
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 }} | |