Skip to content

Commit 7231482

Browse files
committed
chore: Remove unnecessary git commands and update README
This commit removes the Git authorization and commit/push steps from the check.yml workflow, as they are no longer needed. It also removes the check badge from the README.md.
1 parent f123a02 commit 7231482

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

.github/workflows/check.yml

-13
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ jobs:
9595
- name: Checkout
9696
uses: actions/checkout@v4
9797

98-
- name: Authorize Git
99-
run: |
100-
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
101-
git config --global user.name "$GITHUB_ACTOR"
102-
10398
- name: Write Branch and Hash Info with Date
10499
run: |
105100
branch=$(git rev-parse --abbrev-ref HEAD)
@@ -109,14 +104,6 @@ jobs:
109104
echo "VERSION=$branch.$hash.$date" >> $GITHUB_ENV
110105
echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
111106
112-
- name: Commit Changes
113-
run: |
114-
git pull
115-
git commit -am "chore(update): Update Version Info"
116-
git push origin HEAD
117-
env:
118-
GITHUB_TOKEN: ${{ secrets.PAT }}
119-
120107
- name: Create ZIP Archive
121108
run: |
122109
zip -r Gakumas-Translation-Data-EN-${{ env.VERSION }}.zip local-files version.txt

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![](https://img.shields.io/github/actions/workflow/status/NatsumeLS/Gakumas-Translation-Data-EN/check.yml?style=flat-square&label=Check)](https://github.com/NatsumeLS/Gakumas-Translation-Data-EN/actions/workflows/check.yml)
2-
31
[![](https://dcbadge.limes.pink/api/server/https://discord.gg/qARc4Hdc3n)](https://natsume.io/GakumasLocalize)
42

53
# Gakumas-Translation-Data-EN

version.txt

-1
This file was deleted.

0 commit comments

Comments
 (0)