Skip to content

feat: Update README.md #5

feat: Update README.md

feat: Update README.md #5

name: urgent-release-note
# Controls when the workflow will run
on:
pull_request_target:
types:
- closed
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
send_release_note:
if: ${{ startsWith(github.event.pull_request.head.ref, 'hotfix-') && github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
steps:
- uses: tsickert/[email protected]
with:
username: Release-note
content: ${{ github.event.pull_request.body }}
webhook-url: ${{ secrets.URGENT_DISCORD_URL }}