Skip to content

Commit

Permalink
chore: Add Java and JavaScript triggers (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Aug 7, 2023
1 parent fd3f41b commit b51d4c6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/trigger_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,25 @@ jobs:
workflow_id: 'regen.yml',
ref: 'main',
})
- name: Trigger plugin-pb-java code generation
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_CQ_BOT }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: 'cloudquery',
repo: 'plugin-pb-java',
workflow_id: 'regen.yml',
ref: 'main',
})
- name: Trigger plugin-pb-javascript code generation
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_CQ_BOT }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: 'cloudquery',
repo: 'plugin-pb-javascript',
workflow_id: 'regen.yml',
ref: 'main',
})

0 comments on commit b51d4c6

Please sign in to comment.