From 9a5b23fa4f3871bb07fb60edbfc8835f370d6e25 Mon Sep 17 00:00:00 2001 From: Xiangyu Wang Date: Thu, 8 Jul 2021 12:03:08 +0800 Subject: [PATCH] [skip ci]Update all-contributors (#6358) Signed-off-by: Xiangyu Wang --- .contributors | 8 +++++++ .github/workflows/all-contributors.yaml | 31 +++++++++++++++++++------ 2 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 .contributors diff --git a/.contributors b/.contributors new file mode 100644 index 0000000000..b9101db597 --- /dev/null +++ b/.contributors @@ -0,0 +1,8 @@ +[ + { + "avatar_url": "https://avatars.githubusercontent.com/u/219938?v=4", + "html_url": "https://github.com/sworddish", + "login": "sworddish" + } +] + diff --git a/.github/workflows/all-contributors.yaml b/.github/workflows/all-contributors.yaml index 5c0aa6da7f..47b3d5f5ad 100644 --- a/.github/workflows/all-contributors.yaml +++ b/.github/workflows/all-contributors.yaml @@ -3,25 +3,42 @@ name: all-contributors on: schedule: # * is a special character in YAML so you have to quote this string - - cron: '10 9 * * *' + # ┌───────────── minute (0 - 59) + # │ ┌───────────── hour (0 - 23) + # │ │ ┌───────────── day of the month (1 - 31) + # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) + # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) + # │ │ │ │ │ + # │ │ │ │ │ + # │ │ │ │ │ + - cron: '0 * * * *' jobs: contributor: runs-on: ubuntu-latest steps: # Update README.md - - uses: milvus-io/hero-bot@1.4 + - uses: milvus-io/hero-bot@1.11 with: + # Required token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} repos: 'milvus-io/milvus,bootcamp,community,docs,milvus-helm,milvus-sdk-go,milvus-sdk-java,milvus-sdk-node,milvus.io,pymilvus,pymilvus-orm' - targetRepo: 'milvus-io/milvus' - filePath: 'README.md' + target: 'milvus-io/milvus' + # Optional + isAscend: True + width: '30px' + customUserConfig: 'milvus/.contributors' # Update README_CN.md - - uses: milvus-io/hero-bot@1.4 + - uses: milvus-io/hero-bot@1.11 with: token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} repos: 'milvus-io/milvus,bootcamp,community,docs,milvus-helm,milvus-sdk-go,milvus-sdk-java,milvus-sdk-node,milvus.io,pymilvus,pymilvus-orm' - targetRepo: 'milvus-io/milvus' - filePath: 'README_CN.md' + target: 'milvus-io/milvus' + # Optional + isAscend: True + width: '30px' + customUserConfig: 'milvus/.contributors' + +