Skip to content

Send alert to Zulip if the changelog-bot fails (#61) #174

Send alert to Zulip if the changelog-bot fails (#61)

Send alert to Zulip if the changelog-bot fails (#61) #174

Workflow file for this run

name: Changelog Bot
on:
push:
branches:
- '**'
tags-ignore:
- '**'
paths-ignore:
- CHANGELOG.md
jobs:
changelog-bot:
runs-on: ubuntu-latest
name: Update CHANGELOG.md
steps:
- name: Update Changelog
uses: docker://ghcr.io/ponylang/changelog-bot-action:0.3.5
with:
git_user_name: "Ponylang Main Bot"
git_user_email: "ponylang.main@gmail.com"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip/send-message@b62d5a0e48a4d984ea4fce5dd65ba691963d4db4
with:
api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }}
email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }}
organization-url: 'https://ponylang.zulipchat.com/'
to: notifications
type: stream
topic: ${{ github.repository }} unattended job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.