From 05d53e31383911522be05ef342fe4ce3a2a82d92 Mon Sep 17 00:00:00 2001 From: Fernando Gont Date: Thu, 17 Oct 2024 06:56:43 -0300 Subject: [PATCH] Streamline workflows Only run them on push, and not PR. -- otherwise they get run multiple times unnecessarily --- .github/workflows/codeql-analysis.yml | 5 +---- .github/workflows/unit-tests.yml | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0efcecf..79b37eb 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -15,10 +15,7 @@ on: push: branches: - '**' - pull_request: - # The branches below must be a subset of the branches above - branches: - - '**' + schedule: - cron: '20 16 * * 3' diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 8d6d945..cc533b7 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -4,9 +4,6 @@ on: push: branches: - '**' - pull_request: - branches: - - '**' jobs: UbuntuLatest: