From c88423118de40902b1cfb710f8ead254dab9dcea Mon Sep 17 00:00:00 2001 From: Ergels Gaxhaj Date: Fri, 11 Nov 2022 16:00:07 -0600 Subject: [PATCH 1/2] run codeql on code changes only --- .github/workflows/codeql-analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index be69388194..fdc0062a05 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,6 +2,11 @@ name: "CodeQL" on: pull_request: + paths: + - "**.go" + - "go.mod" + - "go.sum" + - ".github/workflows/codeql-analysis.yml" push: branches: - main From 0e0a8ecbe82fa8ea05ea55492b396a0dc27cb1bf Mon Sep 17 00:00:00 2001 From: Ergels Gaxhaj Date: Fri, 11 Nov 2022 16:04:52 -0600 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7335bf37e7..0604271e67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Improvements * Updated Cosmos-SDK to v0.46.3-pio-4 (from v0.46.3-pio-1) [PR 1211](https://github.com/provenance-io/provenance/pull/1211). +* Improve CodeQL workflow to run on Go file changes only [#1225](https://github.com/provenance-io/provenance/issues/1225) ### Bug Fixes