Skip to content

Commit 17b4cd6

Browse files
committed
Add scheduled runner to update stats monthly
1 parent e8cbff1 commit 17b4cd6

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/run.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: run
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 2 1 * *"
6+
7+
jobs:
8+
nuget:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
steps:
13+
- name: 🤖 defaults
14+
uses: devlooped/actions-bot@v1
15+
with:
16+
name: ${{ secrets.BOT_NAME }}
17+
email: ${{ secrets.BOT_EMAIL }}
18+
gh_token: ${{ secrets.GH_TOKEN }}
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: 🤘 checkout
22+
uses: actions/checkout@v4
23+
with:
24+
token: ${{ env.GH_TOKEN }}
25+
26+
- name: ⚙ update
27+
working-directory: src/AI.Benchmarks
28+
run: dotnet run -c Release
29+
30+
- name: +Mᐁ includes
31+
uses: devlooped/actions-includes@v1
32+
33+
- name: ⬆️ commit
34+
run: |
35+
git add *.json
36+
git add *.md
37+
git commit -m "🖉 Update AI benchmarks"
38+
git pull
39+
git push

0 commit comments

Comments
 (0)