diff --git a/.github/workflows/dispatch-oss.yml b/.github/workflows/dispatch-oss.yml new file mode 100644 index 0000000000..3db310bc79 --- /dev/null +++ b/.github/workflows/dispatch-oss.yml @@ -0,0 +1,20 @@ +name: "Dispatch OSS" + +on: + workflow_dispatch: + push: + branches: [ develop ] + +jobs: + push: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + github-token: ${{ secrets.OSS_DISPATCH }} + script: | + const result = await github.rest.repos.createDispatchEvent({ + owner: 'nocodb', + repo: 'nocohub', + event_type: 'OSS' + })