diff --git a/.github/workflows/AutoApiSuper.yml b/.github/workflows/AutoApiSuper.yml index 4f69663..c8aff67 100644 --- a/.github/workflows/AutoApiSuper.yml +++ b/.github/workflows/AutoApiSuper.yml @@ -18,9 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python #安装python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Install requests #安装requests diff --git a/.github/workflows/randomapi.yml b/.github/workflows/randomapi.yml index d73aa59..52afc4f 100644 --- a/.github/workflows/randomapi.yml +++ b/.github/workflows/randomapi.yml @@ -18,9 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python #安装python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Update randapi #更新api排序 @@ -28,10 +28,9 @@ jobs: python updaterand.py - name: Commit #上传新的排序到仓库 run: | - git config --global user.email AutoupdateRobot@email.com - git config --global user.name AutoupdateRobot - git add . - git commit -m "update new randapi" -a + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + git commit -a -m "update new randapi" - name: Push changes uses: ad-m/github-push-action@master with: diff --git a/.github/workflows/uaptetoken.yml b/.github/workflows/uaptetoken.yml index e3e0e0f..0c02d6f 100644 --- a/.github/workflows/uaptetoken.yml +++ b/.github/workflows/uaptetoken.yml @@ -19,9 +19,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python #安装python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Install requests #安装requests @@ -55,10 +55,9 @@ jobs: rm -f keylist2.txt - name: Commit #上传新的refresh_token到仓库 run: | - git config --global user.email AutoupdateRobot@email.com - git config --global user.name AutoupdateRobot - git add . - git commit -m "update new refresh_token" -a + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + git commit -a -m "update new refresh_token" - name: Push changes uses: ad-m/github-push-action@master with: