Github action to automatically add shield badges to your README.md :zap:
A Github action to add badges in your README.md
without any hassle. We love badges but generially it's a tedious job to copy paste badges from shield.io to your README.md
.So this Action helps to add badges without you having to do all the copy pasting and configuration.
Badges - To add your preffered badge, check it's correspoding key
in the Availabe Badges
section below and add the key in the badges
input seperated by commas (,)
.
Badge Style - To specifiy style for your badges .Add your preffered badge style in the badge-style
input. Default is flat
.
- name: Add Badges
uses: rocktimsaikia/badge-it@master
with:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
badges: 'gh_license, gh_version, gh_stars'
badge-style: 'flat-square'
Keys are enclosed in
brackets ()
(gh_license)
(gh_version)
(gh_stars)
(gh_fork)
(gh_followers)
(gh_open_issues)
(gh_closed_issues)
(gh_open_pr)
(gh_dependencies)
(gh_repo_size)
(gh_code_size)
(travis_com)
(travis_org)
There are many more badges that can be added here. If you want to contribute open a issue to discuss before hand. Currenly this action accepts only specifically Github
related badges. But badges for CI
services can also be added here. Thats could a be seperate issue on itself.
base64
based strings.