mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 12:52:57 +00:00
* ci: replace pull-request actions with cyborg Signed-off-by: tison <wander4096@gmail.com> * skip cron maintenance in forks Signed-off-by: tison <wander4096@gmail.com> --------- Signed-off-by: tison <wander4096@gmail.com>
31 lines
710 B
YAML
31 lines
710 B
YAML
name: "Semantic Pull Request"
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- edited
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-20.04
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
- uses: pnpm/action-setup@v3
|
|
with:
|
|
package_json_file: 'cyborg/package.json'
|
|
run_install: true
|
|
- name: Describe the Environment
|
|
working-directory: cyborg
|
|
run: pnpm tsx -v
|
|
- name: Check Pull Request
|
|
working-directory: cyborg
|
|
run: pnpm tsx bin/check-pull-request.ts
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|