Skip to content

Commit

Permalink
Add notification workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sumboid committed Nov 24, 2023
1 parent 5dd29cd commit df3635f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/notify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Notify dependent api clients
on:
push:
branches: [ "master" ]
workflow_dispatch:
permissions:
actions: write

jobs:
notify-go-client:
name: Notify onpremless/go-client
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'onpremless',
repo: 'go-client',
workflow_id: 'gen-n-pub.yaml',
ref: 'master'
})

0 comments on commit df3635f

Please sign in to comment.