Skip to content

Commit 5f7f423

Browse files
authored
ollama: fix permission for automatically creating PR (#1233)
Ref discussion: https://huggingface.slack.com/archives/CTKK32GE8/p1740478906515669 The CI token does not have permission to create PR automatically, therefore we replace it with a PAT provided via `secrets.HUGGINGFACE_JS_AUTOMATIC_PR` CC @paulinebm for viz
1 parent 11a4952 commit 5f7f423

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ollama-template-update.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
CURRENT_DATE: ${{ steps.prepare.outputs.CURRENT_DATE }}
8282
NEW_BRANCH: ${{ steps.changes.outputs.NEW_BRANCH }}
8383
with:
84+
github-token: ${{ secrets.HUGGINGFACE_JS_AUTOMATIC_PR }}
8485
script: |
8586
const { repo, owner } = context.repo;
8687
const currDate = process.env.CURRENT_DATE;

0 commit comments

Comments
 (0)