Skip to content

Commit 3de5f93

Browse files
authored
[E2E] Fix secrets.HUGGING_FACE_HUB_TOKEN usage (#5399)
Secrets must be explicitly passed into the subworkflow (where `workflow_call` is defined), otherwise empty strings are implicitly used instead. Signed-off-by: Anatoly Myachev <[email protected]>
1 parent e57bf14 commit 3de5f93

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/e2e-accuracy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125
dtype: ${{ fromJson(needs.setup.outputs.dtype) }}
126126
fail-fast: false
127127
uses: ./.github/workflows/e2e-reusable.yml
128+
secrets:
129+
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
128130
with:
129131
pytorch_ref: ${{ inputs.pytorch_ref || '' }}
130132
suite: ${{ matrix.suite }}

.github/workflows/e2e-reusable.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: E2E reusable workflow
22

33
on:
44
workflow_call:
5+
secrets:
6+
HUGGING_FACE_HUB_TOKEN:
7+
required: true
58
inputs:
69
pytorch_ref:
710
description: PyTorch ref, keep empty for default

0 commit comments

Comments
 (0)