Skip to content

Commit 86b1008

Browse files
authored
GitHub action for release notices on Slack (AcademySoftwareFoundation#365)
Similar to OpenEXR (AcademySoftwareFoundation/openexr#1601) Signed-off-by: Cary Phillips <[email protected]>
1 parent 61bf40a commit 86b1008

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/release-notice.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (c) Contributors to the OpenEXR Project.
3+
4+
name: Publish Release Notice to ASWF Slack
5+
6+
on:
7+
release:
8+
types:
9+
- published
10+
# published should cover both 'released' and 'prereleased'
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
17+
steps:
18+
- name: 'Notify Slack #release-announcements'
19+
id: slack1
20+
with:
21+
project_name: "Imath"
22+
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
23+
slack_channel: "#release-announcements"
24+
project_logo: "https://artwork.aswf.io/projects/openexr/icon/color/openexr-icon-color.png"
25+
uses: jmertic/slack-release-notifier@main
26+
27+
- name: 'Notify Slack #openexr'
28+
id: slack2
29+
with:
30+
project_name: "Imath"
31+
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
32+
slack_channel: "#openexr"
33+
project_logo: "https://artwork.aswf.io/other/aswf/text/aqua/aswf-text-aqua.png"
34+
project_logo: "https://artwork.aswf.io/projects/openexr/icon/color/openexr-icon-color.png"
35+
uses: jmertic/slack-release-notifier@main
36+

0 commit comments

Comments
 (0)