mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 21:58:19 +00:00
ci: notify nuxt/bridge
when composables change (#24752)
This commit is contained in:
parent
24bedc5e56
commit
ce18fdaf9f
21
.github/workflows/notify-nuxt-bridge.yml
vendored
Normal file
21
.github/workflows/notify-nuxt-bridge.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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 }}"}'
|
Loading…
Reference in New Issue
Block a user