BOM_1.0.0 #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
# This file was generated using Kotlin DSL (.github/workflows/scripts/slack_release_notifications_workflow.main.kts). | |
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. | |
# Generated with https://github.com/typesafegithub/github-workflows-kt | |
name: 'Slack Release Notifications' | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
push-notifications: | |
runs-on: 'ubuntu-latest' | |
strategy: | |
matrix: | |
conf: | |
- webhook_url: SLACK_WEBHOOK_URL_KOTLIN | |
steps: | |
- id: 'step-0' | |
name: 'Check out' | |
uses: 'actions/checkout@v4' | |
- id: 'step-1' | |
name: 'Notify Channel' | |
uses: 'slackapi/[email protected]' | |
with: | |
payload: |- | |
{ | |
"text":"Kotlin Release ${{ github.event.release.name }} was just released. Please update and let us know if you have any issues." | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets[matrix.conf.webhook_url] }} | |
SLACK_WEBHOOK_TYPE: 'INCOMING_WEBHOOK' |