Fix(Fortune): Missing fortune and themes check on ci #64

Merged
tobiichi3227 merged 2 commits from tobiichi3227-patch-1 into main 2025-03-08 07:59:00 +00:00

View File

@@ -1,4 +1,4 @@
name: Check special events
name: Check fortune generator JSON files
lifeadventurer commented 2025-03-08 07:53:41 +00:00 (Migrated from github.com)
Review

Check fortune generator JSON files

Check fortune generator JSON files
tobiichi3227 commented 2025-03-08 07:54:25 +00:00 (Migrated from github.com)
Review

OK

OK
on:
pull_request:
@@ -6,12 +6,16 @@ on:
- 'fortune_generator/json/custom_special.json'
- 'fortune_generator/json/static_special.json'
- 'fortune_generator/json/cyclical_special.json'
- 'fortune_generator/json/fortune.json'
- 'fortune_generator/json/themes.json'
push:
paths:
- 'fortune_generator/json/custom_special.json'
- 'fortune_generator/json/static_special.json'
- 'fortune_generator/json/cyclical_special.json'
- 'fortune_generator/json/fortune.json'
- 'fortune_generator/json/themes.json'
permissions:
contents: read
@@ -33,3 +37,11 @@ jobs:
- name: Check Cyclical Special Events
run: |
python3 scripts/check-events.py fortune_generator/json/cyclical_special.json cyclical
- name: Check Fortune
run: |
python3 scripts/check-fortune.py fortune_generator/json/fortune.json
- name: Check Color Theme
run: |
python3 scripts/check-theme.py fortune_generator/json/themes.json