Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit b7d1099

Browse files
hiro-vhiento09
andauthored
feat: init commit for auto bump script (#246)
Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
1 parent 7b8a96b commit b7d1099

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Auto Bump llama.cpp
2+
on:
3+
schedule:
4+
- cron: '0 2 * * *'
5+
workflow_dispatch:
6+
7+
jobs:
8+
auto-bump:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
13+
with:
14+
submodules: recursive
15+
16+
- name: Check changes llama.cpp master HEAD and push update if any
17+
id: git-status
18+
run: |
19+
cd llama.cpp/
20+
git fetch origin
21+
git checkout master
22+
git reset --hard origin/master
23+
cd ../
24+
25+
- name: Create Pull Request
26+
uses: peter-evans/create-pull-request@v5
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
commit-message: Update llama.cpp
30+
title: Auto bump llama.cpp version
31+
body: Auto bump llama.cpp version
32+
branch: bump-llamacpp
33+
branch-suffix: timestamp
34+
labels: "type: chore"
35+
reviewers: tikikun
36+
assignees: vuonghoainam
37+
delete-branch: true
38+
add-paths : "llama.cpp"
39+
base: main
40+

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "llama.cpp"]
22
path = llama.cpp
33
url = https://github.com/ggerganov/llama.cpp
4+
branch = master

llama.cpp

0 commit comments

Comments
 (0)