Skip to content

Commit f34c6dc

Browse files
authored
Merge pull request #184 from utilityai/llama-cpp-update-CI-fix
Llama cpp update ci fix
2 parents bda2849 + decb18b commit f34c6dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/update-llama-cpp.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
run: |
3838
gh pr list --json number,title --jq '.[] | select(.title | contains("Updated llama-cpp (bot)")) | .number' | xargs -I {} gh pr close {}
3939
- name: Create open PR
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.LLAMA_CPP_RS_UPDATE_LLAMA_CPP_ACTION}}
4042
run: |
41-
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
42-
gh pr create --fill --head update-llama-cpp-${{ env.DATE }} --title "Updated llama-cpp (bot)" --body "Please close and reopen the pull request for the checks to trigger."
43+
unset GITHUB_TOKEN
44+
echo ${{ secrets.LLAMA_CPP_RS_UPDATE_LLAMA_CPP_ACTION }} | gh auth login --with-token
45+
gh pr create --fill --head update-llama-cpp-${{ env.DATE }} --title "Updated llama-cpp (bot)"

0 commit comments

Comments
 (0)