From 015650692260c62963993f3ee8feede016e19972 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Ramavarapu <166605621+kiranspikewell@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:20:44 +0530 Subject: [PATCH] Update codeql.yml Set the GITHUB_TOKEN environment variable and in the git clone command, to authenticate and clone the private repository successfully. --- .github/workflows/codeql.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1871d757fe..b299bda972 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -71,7 +71,10 @@ jobs: run: tcsh OS_notes.linux_ubuntu_24_64_c_nice.tcsh 2>&1 | tee o.ubuntu_24_c.txt - name: Clone AFNI repository - run: git clone https://github.com/afni/afni.git # private repo + env: + GITHUB_TOKEN: ${{ secrets.GH_PAT }} + run: | + git clone https://github.com/YOUR_PRIVATE_REPO_URL.git # private repo - name: Configure AFNI with CMake run: |