Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
/ poop-stats Public archive

View your pooping statistics in your README!

License

Notifications You must be signed in to change notification settings

matievisthekat/poop-stats

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

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📢 This project has been archived. Please use lowlighter/metrics with the PoopMap plugin enabled

💩 Poop Stats!

View your pooping statistics (from PoopMap) in your README!

Example

name: PoopStats
on:
  # Schedule updates (each hour)
  schedule: 
    - cron: "0 * * * *"
  push: 
    branches: 
      - master
jobs:
  poop-stats:
    runs-on: ubuntu-latest
    steps:
      - uses: matievisthekat/poop-stats@master
        with:
          # A GitHub Personal Access Token that allows the action the access the current repo
          pat: ${{ secrets.POOP_TOKEN }}
          
          # Your PoopMap username
          username: "poop-face-bob"
          
          # Your PoopMap password
          password: ${{ secrets.POOP_PASSWORD }}

This will generate a poop-metrics.svg file in the root directory of the repo.

You can then add the SVG to your repo like this:

<!-- If you're using "master" as default branch -->
![Metrics](https://github.com/my-github-user/my-github-user/blob/master/poop-metrics.svg)
<!-- If you're using "main" as default branch -->
![Metrics](https://github.com/my-github-user/my-github-user/blob/main/poop-metrics.svg)

Note

Credit to lowlighter for the graph style