Skip to content

Latest commit

 

History

History
49 lines (48 loc) · 1.63 KB

README.md

File metadata and controls

49 lines (48 loc) · 1.63 KB

MAL readme workflow (REVAMP)

Note

This is a simple workflow that will add your latest MAL History into your readme! This is a Revamp of MoonLGH/MAL_Autolist

How to Use

Just add both of this line to your Markdown File

 <!-- MAL_ANIME<STATUS>:<TYPE> -->
 <!-- MAL_ANIME<STATUS>:<TYPE>_END -->

Replace <STATUS> and <TYPE> with the options on the table below

Note Always Use capital letter when typing the status / type!

Avalaible options

Anime section

STATUS TYPE
FINISHED DEFAULT
WATCHING LIST
PTW GRID

Github Workflow!

After That Make a new Github Actions with the value like this [Change all the value with your credentials, except github tokens]

on:
  schedule:
    # Runs every hour or use crontab.guru for custom cron
    - cron: '0 * * * *'
  workflow_dispatch:

jobs:
  update-readme-with-anime-history:
    name: Update this repo's README with latest MAL history
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v2
      - name: MyAnimeList readme workflow
        uses: gamersindo1223/MAL-ReadmeList@main
        with:
          gh_token: ${{ github.token }}
          mal_username: "MYANIMELIST_USERNAME"
          repo_branch: "BRANCHNAME"
          repo_filename: "MARKDOWNFILENAME.md"
          repo_path: "GITHUBNAME/GITHUBREPO"

Demo

You can find it on my Github Readme

Contributing

Contributing is very helpful and it will help me to solve any bugs on this project