diff options
| author | Dax Raad <[email protected]> | 2026-02-01 19:58:46 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-02-01 19:59:20 -0500 |
| commit | 372dcc033c71d0789db25dc7059a5dc9ea3f4cf6 (patch) | |
| tree | 4c4f95718eabfc16b237f83beb4b85a13acf09eb | |
| parent | 4158d7cda87863a9b5a4eea29a40270b8a60a68f (diff) | |
| download | opencode-372dcc033c71d0789db25dc7059a5dc9ea3f4cf6.tar.gz opencode-372dcc033c71d0789db25dc7059a5dc9ea3f4cf6.zip | |
ci: change trigger from scheduled cron to PR labeled events with beta label condition
| -rw-r--r-- | .github/workflows/beta.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 6edbb4326..4b418471f 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -2,14 +2,16 @@ name: beta on: 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-2404 permissions: contents: write + pull-requests: write steps: - name: Checkout repository uses: actions/checkout@v4 @@ -29,5 +31,4 @@ jobs: - name: Sync beta branch env: GH_TOKEN: ${{ steps.setup-git-committer.outputs.token }} - DISCORD_ISSUES_WEBHOOK_URL: ${{ secrets.DISCORD_ISSUES_WEBHOOK_URL }} run: bun script/beta.ts |
