File: zulip.yaml

package info (click to toggle)
ipython 9.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,624 kB
  • sloc: python: 45,268; sh: 317; makefile: 168
file content (29 lines) | stat: -rw-r--r-- 760 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Post message to Zulip

on:
  workflow_dispatch:
    inputs:
      message:
        description: 'Message to post to Zulip'
        required: false
        default: 'Test Auto release notification of IPython from GitHub action'
        type: string

jobs:
  post-message:
    name: Post Message to Zulip
    runs-on: ubuntu-latest

    steps:

      - name: Send Zulip notification
        uses: zulip/github-actions-zulip/send-message@v1
        with:
          api-key: ${{ secrets.ORG_ZULIP_API_KEY }}
          email: ${{ secrets.ORG_ZULIP_EMAIL }}
          organization-url: ${{ secrets.ORG_ZULIP_ORGANIZATION_URL }}
          to: 'Releases'
          type: 'stream'
          topic: 'IPython'
          content: |
            ${{ inputs.message }}