From 34312e01a48c735ff14d18eb5787c3136c3df4bc Mon Sep 17 00:00:00 2001 From: Natsu Date: Mon, 1 Jul 2024 16:10:28 +0700 Subject: [PATCH] chore(check.yml): rename workflow file from update.yml to check.yml chore(check.yml): update workflow name from "Update" to "Check" chore(check.yml): add git pull command before committing changes chore(README.md): update badge URL for workflow status to check.yml --- .github/workflows/{update.yml => check.yml} | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename .github/workflows/{update.yml => check.yml} (99%) diff --git a/.github/workflows/update.yml b/.github/workflows/check.yml similarity index 99% rename from .github/workflows/update.yml rename to .github/workflows/check.yml index 0c0363c8..e4b822a2 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/check.yml @@ -1,4 +1,4 @@ -name: Update +name: Check on: [push, pull_request, workflow_dispatch] @@ -103,6 +103,7 @@ jobs: - name: Commit Changes run: | + git pull git commit -am "chore(update): Update Version Info" git push origin main env: diff --git a/README.md b/README.md index f2f08724..5dc94147 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![](https://img.shields.io/endpoint?url=https://hits.dwyl.com/NatsumeLS/Gakumas-Translation-Data-EN.json?color=pink&style=flat-square&label=Views)](https://github.com/NatsumeLS/Gakumas-Translation-Data-EN/graphs/traffic) -[![](https://img.shields.io/github/actions/workflow/status/NatsumeLS/Gakumas-Translation-Data-EN/update.yml?style=flat-square&label=Update)](https://github.com/NatsumeLS/Gakumas-Translation-Data-EN/actions/workflows/update.yml) +[![](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) [![](https://dcbadge.limes.pink/api/server/https://discord.gg/qARc4Hdc3n)](https://natsume.io/GakumasLocalize)