From 28c5a21aa18299253e2a99c8d7184c81cca7fe56 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Wed, 23 Apr 2025 19:31:44 +0800 Subject: [PATCH] Update raw-api.yml --- .github/workflows/raw-api.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/raw-api.yml b/.github/workflows/raw-api.yml index 227e6100e..520c9ba0c 100644 --- a/.github/workflows/raw-api.yml +++ b/.github/workflows/raw-api.yml @@ -6,6 +6,7 @@ on: paths: - "domains/*" - ".github/workflows/raw-api.yml" + - "util/raw-api.js" - "util/reserved.json" workflow_dispatch: @@ -22,18 +23,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/checkout@v4 - with: - repository: is-a-dev/raw-api - path: raw-api - token: ${{ secrets.BOT }} - - uses: actions/setup-node@v4 with: node-version: 20.x - name: Update Data - run: node raw-api/scripts/update.js + run: node util/raw-api.js - name: Commit uses: cpina/github-action-push-to-another-repository@main @@ -41,7 +36,7 @@ jobs: source-directory: "raw-api" destination-github-username: is-a-dev destination-repository-name: raw-api - user-email: "actions@github.com" - user-name: "GitHub Actions" + user-email: "bot@is-a.dev" + user-name: "is-a-dev-bot" env: API_TOKEN_GITHUB: ${{ secrets.BOT }}