mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-27 00:19:58 +00:00
* ci: safe ci using zizmor check Signed-off-by: yihong0618 <zouzou0208@gmail.com> * fix: lines empty Signed-off-by: yihong0618 <zouzou0208@gmail.com> * fix: delete useless code Signed-off-by: yihong0618 <zouzou0208@gmail.com> --------- Signed-off-by: yihong0618 <zouzou0208@gmail.com>
27 lines
634 B
YAML
27 lines
634 B
YAML
name: Schedule Management
|
|
on:
|
|
schedule:
|
|
- cron: '4 2 * * *'
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
maintenance:
|
|
name: Periodic Maintenance
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
pull-requests: write
|
|
if: ${{ github.repository == 'GreptimeTeam/greptimedb' }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- uses: ./.github/actions/setup-cyborg
|
|
- name: Do Maintenance
|
|
working-directory: cyborg
|
|
run: pnpm tsx bin/schedule.ts
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|