Skip to content

Commit

Permalink
Internal dispatcher (#1328)
Browse files Browse the repository at this point in the history
  • Loading branch information
miratepuffin authored Oct 12, 2023
1 parent 746c053 commit 0d5acda
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/internal_dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Inform internal projects of raphtory push
on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.DISPATCH_PAT }}
script: |
const result = await github.rest.repos.createDispatchEvent({
owner: 'pometry',
repo: '${{ secrets.PROJECT_ONE }}',
event_type: 'raphtory-update',
client_payload: {"update": "master"}
})
console.log(result);

0 comments on commit 0d5acda

Please sign in to comment.