master
1import { define } from '#src'
2
3export default define({
4 url: import.meta.url,
5 badges: ['yeti'] as const,
6 present(data, grant) {
7 for (const repo of data.repos) {
8 for (const commit of repo.commits) {
9 if (/yeti/i.test(commit.message)) {
10 grant('yeti', 'I found the yeti!').evidenceCommits(commit)
11 return
12 }
13 }
14 }
15 },
16})