From 5fb05768f89ca77bc0ff5836561bb6224c520fe9 Mon Sep 17 00:00:00 2001 From: KEINOS Date: Wed, 5 Jan 2022 10:01:13 +0900 Subject: [PATCH] fix: CodeQL warning Specify an `on.push` hook so that Code Scanning can compare pull requests against the state of the base branch. --- .github/workflows/codeQL-analysis.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/codeQL-analysis.yaml b/.github/workflows/codeQL-analysis.yaml index 83686ea..5a43edd 100644 --- a/.github/workflows/codeQL-analysis.yaml +++ b/.github/workflows/codeQL-analysis.yaml @@ -8,9 +8,7 @@ name: "CodeQL" on: workflow_dispatch: - pull_request: - branches: - - main + push: schedule: # Runs at 16:30 UTC on day-of-month 1 (Every day-of-month 1 at AM 01:30 JST, my time) # See: https://crontab.guru/