From bbab5154feea281b9f3fefb2752058771a8e9893 Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Mon, 8 Dec 2025 17:14:02 -0500 Subject: [PATCH 1/2] Add repository owner reference to CodeQL analysis Added a reference to the repository owner in CodeQL analysis. --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8755e2fd0..f193f542e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -116,3 +116,5 @@ jobs: uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" + ref: ${{ github.repository_owner }} # since we are running this command in the root dir and that root is cloned via LabKey/server + #sha: ${{ github.sha }} From c6e1c2aa63a96f190e9622d7a7b0ca8fe9233b38 Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Mon, 8 Dec 2025 17:17:54 -0500 Subject: [PATCH 2/2] sha in CodeQL workflow is required if specifying ref --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f193f542e..0dc87bb2c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -117,4 +117,4 @@ jobs: with: category: "/language:${{matrix.language}}" ref: ${{ github.repository_owner }} # since we are running this command in the root dir and that root is cloned via LabKey/server - #sha: ${{ github.sha }} + sha: ${{ github.sha }}