Explorar el Código

ci: run beta workflow on hourly schedule only

Dax Raad hace 7 meses
padre
commit
7aad2ee9ae
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      .github/workflows/beta.yml

+ 2 - 4
.github/workflows/beta.yml

@@ -1,13 +1,11 @@
 name: beta
 name: beta
 
 
 on:
 on:
-  workflow_dispatch:
-  pull_request:
-    types: [labeled, synchronize]
+  schedule:
+    - cron: "0 * * * *"
 
 
 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