mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ci: add synchronize event and check for beta label using contains()
This commit is contained in:
parent
372dcc033c
commit
7837bbc639
4
.github/workflows/beta.yml
vendored
4
.github/workflows/beta.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user