diff --git a/.github/workflows/notify.yaml b/.github/workflows/notify.yaml new file mode 100644 index 0000000..cd4b9a1 --- /dev/null +++ b/.github/workflows/notify.yaml @@ -0,0 +1,23 @@ +name: Notify dependent api clients +on: + push: + branches: [ "master" ] + workflow_dispatch: + +jobs: + notify-go-client: + name: Notify onpremless/go-client + permissions: + actions: write + 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' + })