File: 0021-Run-actions-workflow-on-PR-schedule.patch

package info (click to toggle)
inspectrum 0.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,312 kB
  • sloc: cpp: 2,675; makefile: 3
file content (30 lines) | stat: -rw-r--r-- 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From fba50951a5e937c2feacba2c68ccc53a18d99207 Mon Sep 17 00:00:00 2001
From: Mike Walters <mike@flomp.net>
Date: Sat, 9 Oct 2021 14:19:38 +0100
Subject: [PATCH 21/31] Run actions workflow on PR & schedule

---
 .github/workflows/build.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e00be0e..86af296 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,6 +1,12 @@
 name: Build
 
-on: [push]
+on:
+  push:
+  pull_request:
+
+  # Run every friday
+  schedule:
+    - cron: 1 12 * * 5
 
 env:
   BUILD_TYPE: Release
-- 
2.35.1