Skip to content

Commit

Permalink
GitHub action for release notices on Slack (#1601)
Browse files Browse the repository at this point in the history
* GitHub action for release notices on Slack

Signed-off-by: Cary Phillips <[email protected]>

* Add missing 'on' trigger

Signed-off-by: Cary Phillips <[email protected]>

* use openexr logo

Signed-off-by: Cary Phillips <[email protected]>

---------

Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Jan 22, 2024
1 parent f113a8f commit bafa35e
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: "OpenEXR"
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: "OpenEXR"
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 bafa35e

Please sign in to comment.