-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (55 loc) · 2.17 KB
/
auto-badge.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
53
54
55
name: Add Badges
on:
push:
branches:
- master
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/CustUp?style=flat-square",
"alt": "MIT License",
"link": "${{ env.repo_url }}/blob/master/LICENSE"
},
{
"badge": "https://img.shields.io/badge/logo-javascript-blue?logo=javascript",
"alt": "Language",
"link": "https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript"
},
{
"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/CustUp/actions/workflows/node.js.yml/badge.svg",
"alt": "Tests",
"link": "${{ env.repo_url }}/actions/workflows/node.js.yml"
},
{
"badge": "https://github.com/paulosabayomi/CustUp/actions/workflows/setup-node.yml/badge.svg",
"alt": "Publish to NPM",
"link": "${{ env.repo_url }}/actions/workflows/setup-node.yml"
},
{
"badge": "https://img.shields.io/badge/logo-typescript-blue?logo=typescript",
"alt": "TypeScript",
"link": "https://typescriptlang.org"
},
{
"badge": "https://github.com/paulosabayomi/CustUp/actions/workflows/test-ts.js.yml/badge.svg",
"alt": "TypeScript Test",
"link": "${{ env.repo_url }}/actions/workflows/test-ts.js.yml"
}
]