Эх сурвалжийг харах

fixed name and only run weekly

Mrxx99 2 жил өмнө
parent
commit
59f5a489f1

+ 7 - 5
.github/workflows/link-check.yml

@@ -1,14 +1,16 @@
 # This is a basic workflow to help you get started with Actions
 
-name: L
+name: link-check
 
 # Controls when the workflow will run
 on:
+  schedule:
+    - cron: 0 0 * * 0 # once a week on sunday
   # Triggers the workflow on push or pull request events but only for the "master" branch
-  push:
-    branches: [ "master" ]
-  pull_request:
-    branches: [ "master" ]
+  #push:
+  #  branches: [ "master" ]
+  #pull_request:
+  #  branches: [ "master" ]
 
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch: