Skip to main content

auth.yml

Full Example

curseforge:
api_key: "${CURSEFORGE_API_KEY}" # CurseForge API Key

github:
tokens:
IAFEnvoy: "${GITHUB_TOKEN}" # Account: Token
CodeOfArdonia: "${GITHUB_TOKEN2}"

codacy:
api_token: "${CODACY_API_TOKEN}" # Codacy API Token

admin:
username: "admin" # Admin username
password: "your_password" # Admin password

Field Reference

curseforge

FieldTypeDescription
api_keystringCurseForge API Key. Get it from CurseForge Console

github

FieldTypeDescription
tokensmapMap of GitHub account names to Personal Access Tokens

Supports multiple GitHub accounts. The correct token is auto-selected based on the repo owner:

github:
tokens:
IAFEnvoy: "ghp_xxxx"
CodeOfArdonia: "ghp_yyyy"
AnotherOrg: "ghp_zzzz"
tip

GitHub tokens need repo scope to read Issues/PRs from private repos.

codacy

FieldTypeDescription
api_tokenstringCodacy API Token

admin

Credentials for web login.

FieldTypeDescription
usernamestringLogin username
passwordstringLogin password
warning

Do not commit auth.yml to public repositories. Use environment variables to pass sensitive data wherever possible.