Skip to content

chore(deps-dev): Bump sass from 1.79.4 to 1.80.1 #2116

chore(deps-dev): Bump sass from 1.79.4 to 1.80.1

chore(deps-dev): Bump sass from 1.79.4 to 1.80.1 #2116

name: 'Dispatch merged PR notification'
# Ensures that only one workflow is run per branch at a time.
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
on:
pull_request_target:
types: [closed]
branches: [master, 'release-[0-9]+.[0-9]+']
permissions: {}
jobs:
dispatch-merged-pr-notififcation:
if: github.event.pull_request.merged
name: Dispatch merged PR notification
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.NOTIFY_BOT_PAT_TOKEN }}
script: |
return github.rest.repos.createDispatchEvent({
owner: '${{ vars.NOTIFY_REPO_OWNER }}',
repo: '${{ vars.NOTIFY_REPO_NAME }}',
event_type: '${{ vars.NOTIFY_EVENT_TYPE }}',
client_payload: {
branch: context.payload.pull_request.base.ref,
},
})