From 37ebcbcd1da98f51935d2375a0d683e09232bcf8 Mon Sep 17 00:00:00 2001 From: MozeBaltyk Date: Mon, 30 Oct 2023 00:10:50 +0100 Subject: [PATCH] review workflows --- .github/workflows/ci-cd.yml | 4 +++- .github/workflows/codeql-analysis.yml | 7 +------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 44535d42..45e0267a 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -5,7 +5,9 @@ on: workflow_dispatch: push: branches: ["main"] - + pull_request: + # The branches below must be a subset of the branches above + branches: [ "main" ] # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a53be1a7..b1ab3ea8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,12 +13,7 @@ name: "CodeQL" on: push: - branches: [ "main" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "main" ] - schedule: - - cron: '42 11 * * 0' + branches: [ "gh-pages" ] jobs: analyze: