-
-
Notifications
You must be signed in to change notification settings - Fork 415
35 lines (33 loc) · 1.12 KB
/
release-notes.yml
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
30
31
32
33
34
35
name: Release Notes
on:
push:
branches:
- '**'
tags-ignore:
- '**'
paths-ignore:
- .release-notes/next-release.md
- .release-notes/\d+.\d+.\d+.md
jobs:
release-notes:
runs-on: ubuntu-latest
name: Update release notes
steps:
- name: Update
uses: docker://ghcr.io/ponylang/release-notes-bot-action:0.3.7
with:
git_user_name: "Ponylang Main Bot"
git_user_email: "[email protected]"
env:
API_CREDENTIALS: ${{ secrets.GITHUB_TOKEN }}
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip/send-message@08b6fbd07f5834e5b930a85bc7740e9fd44ab2e7
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 }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.