From d262da6aaad570894e14ffe8f41c04aaf493fef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8jlund=20Larsen?= Date: Tue, 22 Aug 2023 13:42:24 +0200 Subject: [PATCH] Update workflow to run on push to master --- .github/workflows/cppcheck.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index b335521..0fdb97d 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -1,14 +1,12 @@ -name: Cppcheck -on: - workflow_dispatch: - schedule: - - cron: "0 1 * * *" # 3 AM CET - push: jobs: docker_check: name: Cppcheck uses: steinwurf/cppcheck-action/.github/workflows/action.yml@2.0.0 - - - - +name: Cppcheck +'on': + push: + branches: + - master + schedule: + - cron: 0 1 * * * + workflow_dispatch: null