From 1ed578ccabdfb7ec7fc62f8e4bdcd210a3e24382 Mon Sep 17 00:00:00 2001 From: mertmit Date: Fri, 1 Sep 2023 14:24:51 +0300 Subject: [PATCH] chore: dispatch action Signed-off-by: mertmit --- .github/workflows/dispatch-oss.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/dispatch-oss.yml diff --git a/.github/workflows/dispatch-oss.yml b/.github/workflows/dispatch-oss.yml new file mode 100644 index 0000000000..e488cb5797 --- /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.GITHUB_TOKEN }} + script: | + const result = await github.rest.repos.createDispatchEvent({ + owner: 'nocodb', + repo: 'nocohub', + event_type: 'OSS' + })