README 追番列表
自動抓自己的 Bangumi 追番進度到 README 頁面的 GitHub Action 套件

user_agent
"ycs77/readme-anime-list"
| 圖片 | 番劇 | | --- | --- | <% it.data.forEach(function (anime) { %> |  | <%= anime.subject.name_cn %> | <% }) %>
| 圖片 | 番劇 | 圖片 | 番劇 | | --- | --- | --- | --- | <% it.data.forEach(function (anime, index) { %><%= index % 2 == 0 ? '|' : '' %>  | <%= anime.subject.name_cn %> |<%= index % 2 == 1 ? '\n' : '' %><% }) %>
name: Update README on: push: schedule: - cron: '0 */1 * * *' jobs: anime_list: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ycs77/readme-anime-list@main with: target: 'README.md' template: 'template/README-eta.md' bangumi_username: '715333' bangumi_limit: 10 user_agent: 'ycs77/ycs77 README' - name: Commit uses: EndBug/add-and-commit@v4 with: message: 'Update generated README' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
{ "replace": { "莉可丽丝": "莉可麗絲", "神渣☆爱豆": "神渣☆偶像" } }