diff --git a/.github/workflows/all-contributors.yaml b/.github/workflows/all-contributors.yaml index 90deca8bf6..43b2a87fd2 100644 --- a/.github/workflows/all-contributors.yaml +++ b/.github/workflows/all-contributors.yaml @@ -22,8 +22,9 @@ jobs: 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 ${{ github.event.repository.name }} - cd ${{ github.event.repository.name }} + export reponame=${{ github.repository }} + sudo chmod -R 777 ${reponame##*/} + cd ${reponame##*/} - name: Update README.md uses: milvus-io/hero-bot@dco-enabled