Nuxt/.github/workflows/notify-nuxt-bridge.yml

22 lines
625 B
YAML
Raw Normal View History

name: bridge
on:
pull_request:
types: [closed]
paths:
- "packages/nuxt/src/app/composables/**"
jobs:
notify:
if: github.event.pull_request.merged == true
strategy:
matrix:
repo: ["nuxt/bridge"]
runs-on: ubuntu-latest
steps:
- name: repository dispatch
uses: peter-evans/repository-dispatch@bf47d102fdb849e755b0b0023ea3e81a44b6f570 #v2.1.2
with:
token: ${{ secrets.BRIDGE_GITHUB_TOKEN }}
repository: ${{ matrix.repo }}
event-type: port-upstream
client-payload: '{"url": "${{ github.event.pull_request.html_url }}"}'