Skip to content

Commit 72f19de

Browse files
New release!
1 parent 7edaf0b commit 72f19de

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

.github/workflows/@francescobianco@matrix-theme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
HACKATHON_PACKAGE_NAME: matrix-theme
9+
HACKATHON_PACKAGE_NAME: console
1010

1111
jobs:
1212
hackathon(template):

.github/workflows/leaderboard.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Leaderboard
2+
3+
on:
4+
schedule:
5+
- cron: '0 20 * * *'
6+
workflow_dispatch:
7+
inputs:
8+
name:
9+
description: 'Update Traffic'
10+
default: 'Update'
11+
required: true
12+
13+
jobs:
14+
leaderboard:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: 'Checkout Traffic'
18+
uses: actions/checkout@v4
19+
- name: 'Update Traffic'
20+
run: bash scripts/generate-leaderboard.sh
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
23+
- name: 'Commit Changes'
24+
uses: stefanzweifel/git-auto-commit-action@v4

data/leaderboard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[
2-
{"rank":1, "project":"francescobianco/matrix-theme", "stars":0},
2+
{"rank":1, "project":"francescobianco/matrix-theme", "stars":1},
33
{}
44
]

data/leaderboard.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0 francescobianco/matrix-theme
1+
1 francescobianco/matrix-theme

0 commit comments

Comments
 (0)