You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
AniList readme workflow
v1.4.2
Simple workflow that will add your latest activity into your readme!
This was made by a person who primarily uses TypeScript and doesn't know how to use Python.
Simply add this to your README.md
# 🌸 My recent AniList activity
<!-- ANILIST_ACTIVITY:start -->
<!-- ANILIST_ACTIVITY:end -->
and setup the workflow like this:
name: AniList readme workflow
on:
schedule:
# Runs every hour
- cron: "0 * * * *"
workflow_dispatch:
jobs:
update-readme-with-anilist:
name: Update this repo's README with latest AniList activites
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: AniList readme workflow
uses: pxseu/anilist-readme@v1.2.1
with:
user_id: YOUR_USER_ID
Option | Description | Default | Required |
---|---|---|---|
user_id |
Your AniList user id | "" | True |
gh_token |
Authorized github token | ${{ github.token }} | False |
readme_path |
Path to the readme file to edit | "./README.md" | False |
max_post_count |
A number from 1 to 50 limiting the ammount of posts | "5" | False |
commit_message |
A message to use when commiting | "Update AniList activity in README.md" | False |
commit_username |
The username for the commiter | "GitHub Action" | False |
commit_email |
The email for the commiter | "action@github.com" | False |
Note: I recommend you leave the default
commit_username
andcommit_email
If you're unsure what's your User ID on AniList follow the quide below
Head on over to https://anilist.co/graphiql and input the query below and replace YOUR_USERNAME
with your username.
query {
User(name: "YOUR_USERNAME") {
id
name
}
}
The query above will return your username and your id which you can use for this action.
You can find it on my profile!