diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7e757b83..38693e3d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -4,9 +4,9 @@ on: push: branches: - main - paths: - - '**.go' pull_request: + branches: + - main paths: - '**.go' diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index f6240d2c..a9839b2b 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -9,6 +9,8 @@ on: - 'go.mod' - 'go.sum' pull_request: + branches: + - main paths: - '**.go' - 'go.mod'