From 7dd369a46eb121d04554afcd0e7a3fd01941c28e Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Mon, 20 Apr 2026 21:12:59 +0700 Subject: [PATCH] =?UTF-8?q?chore(ci):=20remove=20sync-champions.yml=20?= =?UTF-8?q?=E2=80=94=20superseded=20by=20update-champions.yml=20fan-out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/.github/workflows/sync-champions.yml | 31 ----------------------- 1 file changed, 31 deletions(-) delete mode 100644 data/.github/workflows/sync-champions.yml diff --git a/data/.github/workflows/sync-champions.yml b/data/.github/workflows/sync-champions.yml deleted file mode 100644 index f839eab..0000000 --- a/data/.github/workflows/sync-champions.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Sync champions.json to loldle - -on: - push: - branches: [main] - paths: [champions.json] - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout loldle-data - uses: actions/checkout@v5 - - - name: Checkout loldle - uses: actions/checkout@v5 - with: - repository: tiennm99/loldle - token: ${{ secrets.LOLDLE_PAT }} - path: loldle - - - name: Copy and commit - run: | - cp champions.json loldle/public/champions.json - cd loldle - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add public/champions.json - git diff --cached --quiet && echo "No changes" && exit 0 - git commit -m "chore: update champions.json from loldle-data" - git push