mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 09:04:54 +00:00
Merge branch 'main' into Masterdb
This commit is contained in:
6
.github/workflows/check.yml
vendored
6
.github/workflows/check.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
||||
run: npm install --global prettier sort-json
|
||||
|
||||
- name: Run Prettier
|
||||
run: prettier --write "local-files/*.json" "local-files/**/*.json"
|
||||
run: prettier --write "local-files/*.json" "local-files/genericTrans/index/*.json" "local-files/genericTrans/lyrics/*.json"
|
||||
|
||||
- name: Sort JSON files
|
||||
run: find local-files -type f -name '*.json' -not -path "local-files/genericTrans/*" -exec sort-json {} +
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
|
||||
git push origin HEAD:${{ github.head_ref }}
|
||||
else
|
||||
git push origin main
|
||||
git push origin HEAD
|
||||
fi
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
@@ -108,7 +108,7 @@ jobs:
|
||||
run: |
|
||||
git pull
|
||||
git commit -am "chore(update): Update Version Info"
|
||||
git push origin main
|
||||
git push origin HEAD
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
main.7859ce8
|
||||
main.28bd1b4
|
||||
|
||||
Reference in New Issue
Block a user