Run GitHub action sw less often

It is no longer run on push or pull requests.
The scheduled runs are reduced from daily to every 3rd day.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2024-11-07 08:57:41 +01:00
parent d2f311bf7c
commit e3ac3fce2d

View File

@ -1,23 +1,9 @@
name: sw
on:
push:
paths:
- '**.cpp'
- '**.h'
- '**/sw.yml'
- 'unittest/**.c'
- 'unittest/**.cc'
pull_request:
paths:
- '**.cpp'
- '**.h'
- '**/sw.yml'
- 'unittest/**.c'
- 'unittest/**.cc'
schedule:
# every day
- cron: 0 0 * * *
# every 3rd day
- cron: 0 0 */3 * *
jobs:
build: