Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
chore: test other props
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc authored and kellertk committed Sep 27, 2022
1 parent f133125 commit 121a17a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
thresholds: '[0,1,2]'
badge-descriptions: '[you are first!,you are second!,you are third!]'
badge-type: 'achievement'
days: 36
ignore-usernames: '[Tianyi-W]'
# - uses: kaizencc/github-merit-badger@main
# id: contributor-badge-hotlist
# with:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ steps:
### Badge Type

This is an ad-hoc property that allows you to toggle between different types of badge
allocation mechanisms, now and in the future. The currently accepted values are `total` (the default) and `leaderboard`.
allocation mechanisms, now and in the future. The currently accepted values are `achievement`
(the default) and `leaderboard`.

If you specify `leaderboard`, then the Action returns badges related to _how a user compares to other contributors in the repository_. Consider the following example usage:

Expand All @@ -119,8 +120,8 @@ steps:
id: github-merit-badger
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
badges: '1st! :trophy:,top 3 :fire:,top 5 :sunglasses:'
thresholds: '1,3,5'
badges: '[1st! :trophy:,top 3 :fire:,top 5 :sunglasses:]'
thresholds: '[1,3,5]'
badge-type: 'leaderboard'
```

Expand Down

0 comments on commit 121a17a

Please sign in to comment.