name: statson:schedule:- cron: "012***" # Run daily at 12:00 UTCworkflow_dispatch: # Allow manual triggerconcurrency: ${{ github.workflow }}-${{ github.ref }}jobs:stats:if: github.repository == 'anomalyco/opencode'runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: writesteps:- name: Checkoutuses: actions/checkout@v4- name: Setup Bunuses: ./.github/actions/setup-bun- name: Run stats scriptrun: bun script/stats.ts- name: Commit statsrun: |git config --local user.email "action@github.com"git config --local user.name "GitHub Action"git add STATS.mdgit diff --staged --quiet || git commit -m "ignore: update download stats $(date -I)"git pushenv:POSTHOG_KEY: ${{ secrets.POSTHOG_KEY }}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。