2.0.4 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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/msteams-message-card-action@v1.4.3 | |
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 }} |