Debian Codegraph @

.github/workflows/release-notice.yml

raw
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 permissions:
13 contents: read
14
15 jobs:
16 publish:
17 runs-on: ubuntu-latest
18 timeout-minutes: 5
19
20 steps:
21 - name: 'Notify Slack #release-announcements'
22 id: slack1
23 with:
24 project_name: "Imath"
25 slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
26 slack_channel: "#release-announcements"
27 project_logo: "https://artwork.aswf.io/projects/openexr/icon/color/openexr-icon-color.png"
28 uses: jmertic/slack-release-notifier@main
29
30 - name: 'Notify Slack #openexr'
31 id: slack2
32 with:
33 project_name: "Imath"
34 slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
35 slack_channel: "#openexr"
36 project_logo: "https://artwork.aswf.io/projects/openexr/icon/color/openexr-icon-color.png"
37 uses: jmertic/slack-release-notifier@main
38