mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-27 21:15:35 +00:00
24 lines
516 B
YAML
24 lines
516 B
YAML
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',
|
|
client_payload: {
|
|
push: ${{ toJSON(github.event) }}
|
|
}
|
|
})
|