Skip to content

Commit 8949b4b

Browse files
fix: use CVM_MEASURE_TOKEN to clone private cvm-measure repo
GITHUB_TOKEN is scoped to the current repo and cannot access cvm-measure. Use a fine-grained PAT stored as CVM_MEASURE_TOKEN. Ref: CC-192
1 parent 81ff7f7 commit 8949b4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-podvm-cohere.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ jobs:
116116
117117
- name: Install cvm-measure
118118
env:
119-
GH_TOKEN: ${{ github.token }}
119+
CVM_TOKEN: ${{ secrets.CVM_MEASURE_TOKEN }}
120120
run: |
121121
git clone --depth 1 --branch alhassankhedr/cc-167-tdx-measurement-toolkit \
122-
https://x-access-token:${GH_TOKEN}@github.com/cohere-ai/cvm-measure.git /tmp/cvm-measure
122+
https://x-access-token:${CVM_TOKEN}@github.com/cohere-ai/cvm-measure.git /tmp/cvm-measure
123123
pip install /tmp/cvm-measure
124124
rm -rf /tmp/cvm-measure
125125
cvm-measure --version

0 commit comments

Comments
 (0)