Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
activity

GitHub Action

AniList readme workflow

v1.3.3

AniList readme workflow

activity

AniList readme workflow

Puts your newest activity from AniList into your readme

Installation

Copy and paste the following snippet into your .yml file.

              

- name: AniList readme workflow

uses: pxseu/anilist-readme@v1.3.3

Learn more about this action in pxseu/anilist-readme

Choose a version

AniList readme workflow

Simple workflow that will add your latest activity into your readme!

forthebadge forthebadge forthebadge

Note

This was made by a person who primarily uses TypeScript and doesn't know how to use Python.

How to

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

Settings

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 and commit_email
If you're unsure what's your User ID on AniList follow the quide below

How to get my user id

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.

Example

You can find it on my profile!