You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Modrinth Auto-Description
v1
Automatically update the description for a Modrinth project.
Required
The auth token to use for the Modrinth API
To get this, you need to:
- Sign into Modrinth
- Access your cookies (Shift + F9 in FireFox, maybe something similar on Chrome)
- Copy the
auth-token
cookie - Put it in a GitHub Secret
- You're done!
Required
The slug or id used to identify the project on Modrinth.
This is the part that you can type in the "URL" box in the settings.
You can also use the id
which can be found under the project
information panel.
Optional, default = README.md
The path to the readme to fetch from the root of the GitHub repo.
on:
push:
branches: [ main ]
jobs:
modrinth-desc:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/modrinth-auto-desc@v1
with:
auth-token: ${{ secrets.MODRINTH_AUTH_TOKEN }}
slug: 'mapify'