Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
Set the GITHUB_TOKEN environment variable and in the git clone command, to authenticate and clone the private repository successfully.
  • Loading branch information
kiran-spikewell authored Aug 6, 2024
1 parent 300f6b9 commit 0156506
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 0156506

Please sign in to comment.