Skip to content

Commit

Permalink
ci: notify nuxt/bridge of composables changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wattanx committed Dec 14, 2023
1 parent 6c7d430 commit 074c0d6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/notify-nuxt-bridge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: notify nuxt bridge
on:
pull_request:
types: [closed]
paths:
- "packages/nuxt/src/app/composables/**"
jobs:
notify-nuxt-bridge:
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.ACCESS_TOKEN }}
repository: ${{ matrix.repo }}
event-type: port-upstream
client-payload: '{"url": "${{ github.event.pull_request.html_url }}"}'

0 comments on commit 074c0d6

Please sign in to comment.