Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 7837bbc

Browse files
committed
ci: add synchronize event and check for beta label using contains()
1 parent 372dcc0 commit 7837bbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: beta
33
on:
44
workflow_dispatch:
55
pull_request:
6-
types: [labeled]
6+
types: [labeled, synchronize]
77

88
jobs:
99
sync:
10-
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'beta'
10+
if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'beta')
1111
runs-on: blacksmith-4vcpu-ubuntu-2404
1212
permissions:
1313
contents: write

0 commit comments

Comments
 (0)