From de1254ce5bd7edaa52b058c711cd7a6d88b4007b Mon Sep 17 00:00:00 2001 From: dgw Date: Sun, 29 Oct 2023 02:07:15 -0500 Subject: [PATCH] CodeQL: restrict paths on which action should run Saves us from burning GHA minutes (4-5 min/run) on CodeQL analysis when no files in the `sopel/` directory were changed. --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f027defe5..c5bf836b9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,8 +3,10 @@ name: "CodeQL" on: push: branches: [ "master", "7.1.x" ] + paths: [ "sopel/**" ] pull_request: branches: [ "master", "7.1.x" ] + paths: [ "sopel/**" ] schedule: - cron: "8 20 * * 1"