Skip to content

Commit cdbf802

Browse files
authored
feat: rotate tests ci token (#2091)
1 parent 11ea9ce commit cdbf802

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
run: |
142142
export DOCKER_VOLUME=/mnt/cache
143143
export DOCKER_IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT }}
144-
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
144+
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HF_TOKEN }}
145145
pytest -s -vv integration-tests
146146
- name: Tailscale Wait
147147
if: ${{ failure() || runner.debug == '1' }}

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Run server tests
7373
run: |
7474
pip install pytest
75-
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
75+
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HF_TOKEN }}
7676
pytest -s -vv server/tests
7777
- name: Pre-commit checks
7878
run: |

0 commit comments

Comments
 (0)