From 0de951f065032a6467fa7036304a8af27031895f Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Tue, 16 May 2023 10:10:13 +0800 Subject: [PATCH] fix: optimize codeql ananlysis workflows Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- .github/workflows/codeql-analysis.yml | 6 +++--- script/githooks/pre-push | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f106438e3..38508b770 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -16,9 +16,9 @@ on: branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] - schedule: - - cron: '23 2 * * 2' + branches: "*" +# schedule: +# - cron: '23 2 * * 2' jobs: analyze: diff --git a/script/githooks/pre-push b/script/githooks/pre-push index 3402ac656..10c4a6d2c 100644 --- a/script/githooks/pre-push +++ b/script/githooks/pre-push @@ -22,7 +22,6 @@ printMessage "Running local OpenIM pre-push hook." if [[ `git status --porcelain` ]]; then printError "This script needs to run against committed code only. Please commit or stash you changes." exit 1 -fi # #printMessage "Running the Flutter analyzer"