We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4158d7c commit 372dcc0Copy full SHA for 372dcc0
.github/workflows/beta.yml
@@ -2,14 +2,16 @@ name: beta
2
3
on:
4
workflow_dispatch:
5
- schedule:
6
- - cron: "0 * * * *"
+ pull_request:
+ types: [labeled]
7
8
jobs:
9
sync:
10
+ if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'beta'
11
runs-on: blacksmith-4vcpu-ubuntu-2404
12
permissions:
13
contents: write
14
+ pull-requests: write
15
steps:
16
- name: Checkout repository
17
uses: actions/checkout@v4
@@ -29,5 +31,4 @@ jobs:
29
31
- name: Sync beta branch
30
32
env:
33
GH_TOKEN: ${{ steps.setup-git-committer.outputs.token }}
- DISCORD_ISSUES_WEBHOOK_URL: ${{ secrets.DISCORD_ISSUES_WEBHOOK_URL }}
34
run: bun script/beta.ts
0 commit comments