Skip to content

MoonLGH/MAL_Autolist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAL readme workflow

Simple workflow that will add your latest MAL History into your readme!

Revamped Version on gamersindo1223/MAL-ReadmeList

Note

This is basicly wallmart copy of pxseu/anilist-readme

How to

Simply add this to your README.md

# 🌸 My recent MAL activity

<!-- MAL_ACTIVITY:start -->

<!-- MAL_ACTIVITY:end -->

and setup the workflow like this:

on:
  schedule:
    # Runs every hour
    - cron: '0 * * * *'
  workflow_dispatch:

jobs:
  update-readme-with-blog:
    name: Update this repo's README with latest MAL history
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: MyAnimeList readme workflow
        uses: MoonLGH/MAL-autoreadme@v2
        with:
          username: "MoonLMAL"
          gh_token: ${{ github.token }}
          readme_path: "MoonLGH/MoonLGH"

Settings

Option Description Default Required Example
username Your MyAnimeList user name "" True MoonLMAL
gh_token Authorized github token ${{ github.token }} False ""
readme_path Path to the readme file Repo to edit "" True "MoonLGH/MoonLGH"
branch branch the readme file to edit "main" True "main"
useScraping Scraping the MAL history web instead of using JikanAPi "false" false "true"
limit limit the post of the history "10" false "15"

useScraping is still in beta and possibly a lot of bugs in it

Example

You can find it on my profile!

Troubleshooting

  • Your Activity is not updating ?

Dont worry, its just JikanApi not updating stuff by that time, just wait for couple more hour (1 - 12) and it will be updated!
For more details, just open your history on https://myanimelist.net/history/YourUsername and if it updated there, open https://api.jikan.moe/v3/user/YourUsername/history and look if it updated there.
if it both updated, try using useScraping instead, reruning action or wait for next action executed.

Contributing

I make mistakes here, or just want to help with this project ?
yeah, just make a pr im gonna consider it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published