Skip to content

fix: Update README.md #2

fix: Update README.md

fix: Update README.md #2

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: github.event.pull_request.merged == true && ${{ startsWith(github.event.pull_request.head.ref, 'hotfix-') }}
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 }}