From 8c6d594fd945948a4f7c50cc04a2691a3831121c Mon Sep 17 00:00:00 2001 From: Marcos Irisarri <53787863+marcos-iov@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:36:29 -0300 Subject: [PATCH 1/2] Update codeql.yml --- .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 35e9c7c6..dde4ddae 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: if: ${{ matrix.language == 'java' }} working-directory: rskj env: - CHECKOUT_REF: ${{ github.head_ref }} + CHECKOUT_REF: ${{ github.ref }} run: | git switch "$CHECKOUT_REF" From 09a6a50c2ca008e6ad94a71deef12af496807193 Mon Sep 17 00:00:00 2001 From: Marcos Irisarri <53787863+marcos-iov@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:12:02 -0300 Subject: [PATCH 2/2] Update codeql.yml --- .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 dde4ddae..f4329db4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: if: ${{ matrix.language == 'java' }} working-directory: rskj env: - CHECKOUT_REF: ${{ github.ref }} + CHECKOUT_REF: ${{ github.ref_name }} run: | git switch "$CHECKOUT_REF"