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

GitHub Action

Modrinth Auto-Description

v1

Modrinth Auto-Description

arrow-up-right

Modrinth Auto-Description

Automatically update the description for a Modrinth project from a markdown file

Installation

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

              

- name: Modrinth Auto-Description

uses: funnyboy-roks/modrinth-auto-desc@v1

Learn more about this action in funnyboy-roks/modrinth-auto-desc

Choose a version

Modrinth Auto-Description

Automatically update the description for a Modrinth project.

Inputs

auth-token

Required

The auth token to use for the Modrinth API

To get this, you need to:

  1. Sign into Modrinth
  2. Access your cookies (Shift + F9 in FireFox, maybe something similar on Chrome)
  3. Copy the auth-token cookie
  4. Put it in a GitHub Secret
  5. You're done!

slug

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.

readme

Optional, default = README.md

The path to the readme to fetch from the root of the GitHub repo.

Example Usage

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'