ci: run beta workflow on hourly schedule only
This commit is contained in:
6
.github/workflows/beta.yml
vendored
6
.github/workflows/beta.yml
vendored
@@ -1,13 +1,11 @@
|
|||||||
name: beta
|
name: beta
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
schedule:
|
||||||
pull_request:
|
- cron: "0 * * * *"
|
||||||
types: [labeled, synchronize]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'beta')
|
|
||||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
Reference in New Issue
Block a user