-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
31 lines (29 loc) · 1.08 KB
/
announce-lts-rc.yml
File metadata and controls
31 lines (29 loc) · 1.08 KB
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
name: Announce LTS RCs
on:
release:
types: [prereleased]
jobs:
post:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'jenkinsci' }}
steps:
- name: Post on Discourse
uses: roots/discourse-topic-github-release-action@c30dc233349b7c6f24f52fb1c659cc64f13b5474 # v1.0.1
with:
discourse-api-key: ${{ secrets.DISCOURSE_RELEASES_API_KEY }}
discourse-base-url: https://community.jenkins.io/
discourse-author-username: jenkins-release-bot
discourse-category: 23
- name: Post on mailing list
uses: dawidd6/action-send-mail@ba302ba66e88942841281c984a6b31ca6d6289e6 # v11
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
secure: true
subject: ${{ github.event.release.tag_name }} has been released
to: jenkinsci-dev@googlegroups.com
from: Jenkins Release Bot
html_body: ${{ github.event.release.body }}
convert_markdown: true