Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matievisthekat committed Sep 24, 2021
2 parents 38c57cb + 84d3e83 commit bc7b302
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# PoopMap Bio
Include your poops from PoopMap in your GitHub bio
Include your poops from [PoopMap](https://www.poopmap.net) ([Android](https://play.google.com/store/apps/details?id=net.poopmap) / [iOS](https://itunes.apple.com/us/app/poop-map/id1303269455?mt=8)) in your GitHub bio, like this:

<p align="center">
<img src="https://i.imgur.com/hVwDcZO.png?1" />
</p>

### Example
```yml
name: PoopMap
on:
# Schedule updates (each hour)
schedule:
- cron: "0 * * * *"
push:
branches:
- master
- main
jobs:
poopmap-bio:
runs-on: ubuntu-latest
steps:
- uses: matievisthekat/poopmap-bio@latest
with:
# Your GitHub token (MUST INCLUDE 'user' SCOPE)
personal_access_token: ${{ secrets.POOP_TOKEN }}

# Your PoopMap username
username: "poop-face-bob"

# Your PoopMap password
password: ${{ secrets.POOP_PASSWORD }}
```
### Notes
This action currently only calculates poops from the last 24 hours. If you would like other time frames please open an issue or fork this repo and create a PR
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "PoopMap Bio"
description: "Show your poops from PoopMap in your bio"
branding:
icon: user-check
color: gray-dark

inputs:
personal_access_token: # must include all 'user' scopes
description: "A GitHub personal access token (PAT) that includes all 'user' scopes"
Expand Down

0 comments on commit bc7b302

Please sign in to comment.