beta.yml 758 B

1234567891011121314151617181920212223242526272829303132
  1. name: beta
  2. on:
  3. schedule:
  4. - cron: "0 * * * *"
  5. jobs:
  6. sync:
  7. runs-on: blacksmith-4vcpu-ubuntu-2404
  8. permissions:
  9. contents: write
  10. pull-requests: write
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v4
  14. with:
  15. fetch-depth: 0
  16. - name: Setup Bun
  17. uses: ./.github/actions/setup-bun
  18. - name: Setup Git Committer
  19. id: setup-git-committer
  20. uses: ./.github/actions/setup-git-committer
  21. with:
  22. opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
  23. opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
  24. - name: Sync beta branch
  25. env:
  26. GH_TOKEN: ${{ steps.setup-git-committer.outputs.token }}
  27. run: bun script/beta.ts