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 0647c31
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/notify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: 'go-client',
workflow_id: 'gen-n-pub.yaml',
ref: 'master'
})

0 comments on commit 0647c31

Please sign in to comment.