diff --git a/.github/workflows/zulip-notify.yaml b/.github/workflows/zulip-notify.yaml new file mode 100644 index 0000000..98ccd51 --- /dev/null +++ b/.github/workflows/zulip-notify.yaml @@ -0,0 +1,33 @@ +name: Notify Zulip + +on: + release: + types: [released] + +jobs: + notify: + runs-on: ubuntu-24.04 + steps: + - name: Post announcement to Zulip + env: + ZULIP_BOT_EMAIL: ${{ secrets.ZULIP_BOT_EMAIL }} + ZULIP_BOT_API_KEY: ${{ secrets.ZULIP_BOT_API_KEY }} + ZULIP_SITE: ${{ secrets.ZULIP_SITE }} + REPO: ${{ github.event.repository.name }} + TAG: ${{ github.event.release.tag_name }} + RELEASE_URL: ${{ github.event.release.html_url }} + CHANGELOG: ${{ github.event.release.body }} + run: | + CONTENT=$(cat <