mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 09:04:54 +00:00
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.
This commit is contained in:
13
.github/workflows/check.yml
vendored
13
.github/workflows/check.yml
vendored
@@ -95,11 +95,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Authorize Git
|
||||
run: |
|
||||
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
git config --global user.name "$GITHUB_ACTOR"
|
||||
|
||||
- name: Write Branch and Hash Info with Date
|
||||
run: |
|
||||
branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
@@ -109,14 +104,6 @@ jobs:
|
||||
echo "VERSION=$branch.$hash.$date" >> $GITHUB_ENV
|
||||
echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
|
||||
- name: Commit Changes
|
||||
run: |
|
||||
git pull
|
||||
git commit -am "chore(update): Update Version Info"
|
||||
git push origin HEAD
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
|
||||
- name: Create ZIP Archive
|
||||
run: |
|
||||
zip -r Gakumas-Translation-Data-EN-${{ env.VERSION }}.zip local-files version.txt
|
||||
|
||||
Reference in New Issue
Block a user