ci: add synchronize event and check for beta label using contains()

This commit is contained in:
Dax Raad
2026-02-01 19:59:05 -05:00
parent 372dcc033c
commit 7837bbc639

View File

@@ -3,11 +3,11 @@ name: beta
on:
workflow_dispatch:
pull_request:
types: [labeled]
types: [labeled, synchronize]
jobs:
sync:
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'beta'
if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'beta')
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: write