From 82a4f9a1d78c0fd32017f2d591370c1a42f27244 Mon Sep 17 00:00:00 2001 From: Larry Gritz Date: Thu, 5 Oct 2023 08:50:39 -0700 Subject: [PATCH] admin: Alert slack "release-announcements" channel upon OIIO release (#4002) Add a GHA workflow that is triggered up on drafting a release, which will echo a notice to the ASWF slack #release-announcements channel. Signed-off-by: Larry Gritz --- .github/workflows/release-notice.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/release-notice.yml diff --git a/.github/workflows/release-notice.yml b/.github/workflows/release-notice.yml new file mode 100644 index 0000000000..7bf93392cc --- /dev/null +++ b/.github/workflows/release-notice.yml @@ -0,0 +1,18 @@ +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 + id: slack + with: + slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_RELEASES_URL }} + uses: fedecalendino/slack-release-notifier@2.1.0