mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 17:14:02 +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
|
run: npm install --global prettier sort-json
|
||||||
|
|
||||||
- name: Run Prettier
|
- 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
|
- name: Sort JSON files
|
||||||
run: find local-files -type f -name '*.json' -not -path "local-files/genericTrans/*" -exec sort-json {} +
|
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
|
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
|
||||||
git push origin HEAD:${{ github.head_ref }}
|
git push origin HEAD:${{ github.head_ref }}
|
||||||
else
|
else
|
||||||
git push origin main
|
git push origin HEAD
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git pull
|
git pull
|
||||||
git commit -am "chore(update): Update Version Info"
|
git commit -am "chore(update): Update Version Info"
|
||||||
git push origin main
|
git push origin HEAD
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
main.7859ce8
|
main.28bd1b4
|
||||||
|
|||||||
Reference in New Issue
Block a user