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

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
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:
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'