Skip to content

Commit bc7b302

Browse files
2 parents 38c57cb + 84d3e83 commit bc7b302

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
11
# PoopMap Bio
2-
Include your poops from PoopMap in your GitHub bio
2+
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:
3+
4+
<p align="center">
5+
<img src="https://i.imgur.com/hVwDcZO.png?1" />
6+
</p>
7+
8+
### Example
9+
```yml
10+
name: PoopMap
11+
on:
12+
# Schedule updates (each hour)
13+
schedule:
14+
- cron: "0 * * * *"
15+
push:
16+
branches:
17+
- master
18+
- main
19+
jobs:
20+
poopmap-bio:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: matievisthekat/poopmap-bio@latest
24+
with:
25+
# Your GitHub token (MUST INCLUDE 'user' SCOPE)
26+
personal_access_token: ${{ secrets.POOP_TOKEN }}
27+
28+
# Your PoopMap username
29+
username: "poop-face-bob"
30+
31+
# Your PoopMap password
32+
password: ${{ secrets.POOP_PASSWORD }}
33+
```
34+
35+
### Notes
36+
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

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: "PoopMap Bio"
22
description: "Show your poops from PoopMap in your bio"
3+
branding:
4+
icon: user-check
5+
color: gray-dark
6+
37
inputs:
48
personal_access_token: # must include all 'user' scopes
59
description: "A GitHub personal access token (PAT) that includes all 'user' scopes"

0 commit comments

Comments
 (0)