Skip to content

🔢 Adds a badge to count visitors for your issues and PRs

License

Notifications You must be signed in to change notification settings

wow-actions/visitor-badge

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visitor Badge

Adds a badge to count visitors for your issues and PRs.

screenshot

Usage

Create .github/workflows/visitor-badge.yml in the default branch:

name: Visitor Badge
on:
  pull_request:
    types: [opened]
  issues:
    types: [opened]
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: wow-actions/visitor-badge@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

GITHUB_TOKEN

Your GitHub token for authentication.

color

The color or the badge. You can use any valid HEX color or pick from a predefined set of named colors. Default is blue. Note that the HEX colors should be used without # symbol prefix.

color demo
brightgreen
green
yellow
yellowgreen
orange
red
blue
grey
lightgrey
blueviolet
ff69b4

style

The style of the badge. Support flat, flat-square , plastic. Default is flat.

style demo
flat
flat-square
plastic

label

The label of the badge. Default is 'visitors'.

License

The scripts and documentation in this project are released under the MIT License

About

🔢 Adds a badge to count visitors for your issues and PRs

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks