[skip ci]Update all-contributors (#6358)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/6369/head
Xiangyu Wang 2021-07-08 12:03:08 +08:00 committed by GitHub
parent 3387b07dfd
commit 9a5b23fa4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 7 deletions

8
.contributors Normal file
View File

@ -0,0 +1,8 @@
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/219938?v=4",
"html_url": "https://github.com/sworddish",
"login": "sworddish"
}
]

View File

@ -3,25 +3,42 @@ name: all-contributors
on: on:
schedule: schedule:
# * is a special character in YAML so you have to quote this string # * 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: jobs:
contributor: contributor:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Update README.md # Update README.md
- uses: milvus-io/hero-bot@1.4 - uses: milvus-io/hero-bot@1.11
with: with:
# Required
token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} 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' 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' target: 'milvus-io/milvus'
filePath: 'README.md' # Optional
isAscend: True
width: '30px'
customUserConfig: 'milvus/.contributors'
# Update README_CN.md # Update README_CN.md
- uses: milvus-io/hero-bot@1.4 - uses: milvus-io/hero-bot@1.11
with: with:
token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }} 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' 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' target: 'milvus-io/milvus'
filePath: 'README_CN.md' # Optional
isAscend: True
width: '30px'
customUserConfig: 'milvus/.contributors'