Skip to content

Commit 83b8b01

Browse files
fix(security): remediate workflow vulnerability in .github/workflows/ci.yml
1 parent a7dd338 commit 83b8b01

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111

1212
env:
1313
HF_ALLOW_CODE_EVAL: 1
14-
CI_HEADERS: ${{ secrets.CI_HEADERS }}
1514

1615
jobs:
1716

@@ -55,11 +54,17 @@ jobs:
5554
run: |
5655
pip install .[tests]
5756
pip install -r additional-tests-requirements.txt --no-deps
57+
env:
58+
CI_HEADERS: ${{ secrets.CI_HEADERS }}
5859
- name: Test with pytest
5960
if: ${{ matrix.test == 'unit' }}
6061
run: |
6162
python -m pytest -n 2 --dist loadfile -sv ./tests/ --ignore=./tests/test_trainer_evaluator_parity.py
63+
env:
64+
CI_HEADERS: ${{ secrets.CI_HEADERS }}
6265
- name: Integration test with transformers
6366
if: ${{ matrix.test == 'parity' }}
6467
run: |
6568
python -m pytest -n 2 --dist loadfile -sv ./tests/test_trainer_evaluator_parity.py
69+
env:
70+
CI_HEADERS: ${{ secrets.CI_HEADERS }}

0 commit comments

Comments
 (0)