From 03f5b25391cc0280b6f0d5c435eef8dd73674b2c Mon Sep 17 00:00:00 2001 From: NANSIYV <39900381+nsv2051@users.noreply.github.com> Date: Tue, 24 Oct 2023 14:56:43 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a8fb67..80e2c76 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,8 +17,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - # with: - # token: ${{ secrets.COMMIT_TOKEN }} - uses: actions/labeler@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -31,8 +29,11 @@ jobs: git commit -m "更新个人访问地址" git push -u origin main env: + # 要替换的个人访问地址,例如:ssh.lamgc.me REPLACEMENT_VALUE: ${{ secrets.REPLACEMENT_VALUE }} + # Github用户名 GIT_USERNAME: ${{ secrets.GIT_USERNAME }} + # Github邮箱 GIT_EMAIL: ${{ secrets.GIT_EMAIL }} - name: 提交更改 uses: stefanzweifel/git-auto-commit-action@v4