Skip to content

Commit

Permalink
feat: adopt release announcement workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrolli committed May 27, 2024
1 parent 863d0fa commit bcbbf7b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release_announcement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Release announcement
on:
release:
types: [published]

jobs:
notify:
name: Notify new release
runs-on: ubuntu-latest
if: github.event.release.name != ''

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Notify dedicated teams channel
uses: simbo/[email protected]
with:
webhook: ${{ secrets.TEAMS_SYS_WEBHOOK_ANSIBLE_TALK_URI }}
title: "New Release for ${{ github.repository }}"
message: "Release ${{ github.event.release.name }} for repository ${{ github.repository }} has just been published!"
color: "ff6e00"
buttons: |
Open release notes at GitHub https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.name }}

0 comments on commit bcbbf7b

Please sign in to comment.