From b919a281b495f3c0f10e15bf421ec21b89469f8d Mon Sep 17 00:00:00 2001 From: LiLittleCat Date: Mon, 20 Mar 2023 23:24:49 +0800 Subject: [PATCH] feat: fix action issue --- .github/workflows/convert_to_json.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/convert_to_json.yml b/.github/workflows/convert_to_json.yml index 7eb225a..e34156d 100644 --- a/.github/workflows/convert_to_json.yml +++ b/.github/workflows/convert_to_json.yml @@ -31,11 +31,11 @@ jobs: run: | git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" + env: + GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }} - name: Commit and push JSON file run: | git add urls.json git commit -m "Update urls.json" git push - env: - GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}