-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (52 loc) · 2.04 KB
/
add-badges.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Add Badges
on:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/add-badges@v1
env:
repo_url: ${{ github.event.repository.html_url }}
repo_name: ${{ github.event.repository.name }}
repo_owner: ${{ github.event.repository.owner.login }}
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
center: true
badges: |
[
[
{
"badge": "https://img.shields.io/github/license/paulosabayomi/treeSpider?style=flat-square",
"alt": "MIT License",
"link": "${{ env.repo_url }}/blob/main/LICENSE"
},
{
"badge": "https://img.shields.io/badge/language-TypeScript-blue.svg?style=flat-square",
"alt": "Language",
"link": "https://www.typescriptlang.org"
},
{
"badge": "https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?style=flat-square",
"alt": "PRs Welcome",
"link": "${{ env.repo_url }}/pulls"
},
{
"badge": "https://github.com/paulosabayomi/treeSpider/actions/workflows/package.yml/badge.svg",
"alt": "Package",
"link": "${{ env.repo_url }}/actions/workflows/package.yml"
},
{
"badge": "https://github.com/paulosabayomi/treeSpider/actions/workflows/npm-publish.yml/badge.svg",
"alt": "Publish to npm",
"link": "https://github.com/paulosabayomi/treeSpider/actions/workflows/npm-publish.yml"
},
{
"badge": "https://github.com/paulosabayomi/treeSpider/actions/workflows/tests.yml/badge.svg",
"alt": "Tests",
"link": "https://github.com/paulosabayomi/treeSpider/actions/workflows/tests.yml"
}
]
]