From 07d3855a0ef1dc705a9f13c597fe1f1711c93594 Mon Sep 17 00:00:00 2001 From: linxiaodong Date: Tue, 30 Apr 2024 15:12:59 +0800 Subject: [PATCH] feat: add token --- .github/workflows/update-readme.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index ea48f8c5..3b4ae2de 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -14,6 +14,7 @@ jobs: uses: actions/setup-node@v2-beta with: node-version: "20" + token: ${{ secrets.TOKEN }} - name: Install node dependencies run: yarn - name: Run node script @@ -24,8 +25,6 @@ jobs: run: git diff --quiet && git diff --staged --quiet || git commit -am '[BOT] Update readme' && git push - name: push to profile repo - with: - token: ${{ secrets.TOKEN }} run: | git clone https://github.com/buxuku/buxuku.git cp ./profile.md ./buxuku/README.md