The open source coding agent.
TypeScript
ci: change trigger from scheduled cron to PR labeled events with beta label condition
Dax Raad372dcc033c71
diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.ymlindex 6edbb4326ce..4b418471f81 100644--- a/.github/workflows/beta.yml+++ b/.github/workflows/beta.yml@@ -2,14 +2,16 @@ name: betaon:workflow_dispatch:- schedule:- - cron: "0 * * * *"+ pull_request:+ types: [labeled]jobs:sync:+ if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'beta'runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: write+ pull-requests: writesteps:- name: Checkout repositoryuses: actions/checkout@v4@@ -29,5 +31,4 @@ jobs:- name: Sync beta branchenv:GH_TOKEN: ${{ steps.setup-git-committer.outputs.token }}- DISCORD_ISSUES_WEBHOOK_URL: ${{ secrets.DISCORD_ISSUES_WEBHOOK_URL }}run: bun script/beta.ts