Skip to content

Commit

Permalink
[skip ci]Update all-contributors (milvus-io#6358)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangyu Wang <[email protected]>
  • Loading branch information
Xiangyu Wang authored Jul 8, 2021
1 parent 3387b07 commit 9a5b23f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .contributors
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/219938?v=4",
"html_url": "https://github.com/sworddish",
"login": "sworddish"
}
]

31 changes: 24 additions & 7 deletions .github/workflows/all-contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'



0 comments on commit 9a5b23f

Please sign in to comment.