Skip to content

Commit

Permalink
GitHub action for release notices on Slack (#365)
Browse files Browse the repository at this point in the history
Similar to OpenEXR (AcademySoftwareFoundation/openexr#1601)

Signed-off-by: Cary Phillips <cary@ilm.com>
  • Loading branch information
cary-ilm committed Jan 27, 2024
1 parent 9fe5ed2 commit c78597c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release-notice.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenEXR Project.

name: Publish Release Notice to ASWF Slack

on:
release:
types:
- published
# published should cover both 'released' and 'prereleased'

jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: 'Notify Slack #release-announcements'
id: slack1
with:
project_name: "Imath"
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel: "#release-announcements"
project_logo: "https://artwork.aswf.io/projects/openexr/icon/color/openexr-icon-color.png"
uses: jmertic/slack-release-notifier@main

- name: 'Notify Slack #openexr'
id: slack2
with:
project_name: "Imath"
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel: "#openexr"
project_logo: "https://artwork.aswf.io/other/aswf/text/aqua/aswf-text-aqua.png"
project_logo: "https://artwork.aswf.io/projects/openexr/icon/color/openexr-icon-color.png"
uses: jmertic/slack-release-notifier@main

0 comments on commit c78597c

Please sign in to comment.