-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from moeyashi/feature/35
Feature/35
- Loading branch information
Showing
5 changed files
with
47 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Update WR | ||
|
||
on: | ||
schedule: | ||
# 15時に実行 | ||
- cron: "0 7 * * *" | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
commit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
- uses: eifinger/setup-rye@v2 | ||
id: setup-rye | ||
with: | ||
enable-cache: true | ||
working-directory: ./wr-python | ||
- name: Install dependencies | ||
if: steps.setup-rye.outputs.cache-hit != 'true' | ||
run: | | ||
rye sync --no-lock | ||
- name: Create track.js | ||
run: rye run python ./src/wr_python/make_track_js.py | ||
- uses: peter-evans/create-pull-request@v6 | ||
with: | ||
add-paths: "src/const/track.js" | ||
commit-message: "feat(track.js): update WR" | ||
delete-branch: true | ||
title: Update WR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# wr-python | ||
|
||
LeaderBoard.pyが本体です | ||
## make track.js | ||
|
||
sample.py(とdata.csv)は自分が使っていた時のサンプルです | ||
```bash | ||
cd ./wr-python | ||
rye sync | ||
rye run python ./src/wr_python/make_track_js.py | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters