From 527db91ebeae59b8f783defef933f4a673184dd5 Mon Sep 17 00:00:00 2001 From: "zhuanghong.chen" Date: Mon, 13 Sep 2021 15:17:01 +0800 Subject: [PATCH] Update all-contributors.yaml (#7776) Signed-off-by: sutcalag --- .github/workflows/all-contributors.yaml | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/all-contributors.yaml b/.github/workflows/all-contributors.yaml index 22bf198a57..c20208e27f 100644 --- a/.github/workflows/all-contributors.yaml +++ b/.github/workflows/all-contributors.yaml @@ -18,13 +18,14 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout code + uses: actions/checkout@v2 + with: + token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} + + - name: log path run: | - sudo git clone https://.:${{ secrets.ALL_CONTRIBUTORS_TOKEN }}@github.com/${{ github.repository }}.git - git config --global user.email "sre-ci-robot@zilliz.com" - git config --global user.name "sre-ci-robot" - sudo chmod -R 777 milvus - cd milvus pwd + ls - name: Update README.md uses: milvus-io/hero-bot@dco-enabled @@ -37,7 +38,7 @@ jobs: isAscend: True width: '30px' customUserConfig: 'milvus-io/milvus/.contributors' - workingDir: '/home/runner/work/milvus/milvus/milvus' + workingDir: '/home/runner/work/milvus/milvus' - name: Update README_CN.md uses: milvus-io/hero-bot@dco-enabled @@ -50,15 +51,16 @@ jobs: isAscend: True width: '30px' customUserConfig: 'milvus-io/milvus/.contributors' - workingDir: '/home/runner/work/milvus/milvus/milvus' + workingDir: '/home/runner/work/milvus/milvus' - # - name: commit code - # run: | - # cd milvus - # pwd - # git add -u - # git commit -s -m 'Update all contributors' - # git push + - name: commit code + run: | + pwd + git config --global user.email "sre-ci-robot@zilliz.com" + git config --global user.name "sre-ci-robot" + git add -u + git commit -s -m 'Update all contributors' + git push