Skip to content

Commit 56b6b09

Browse files
Fix update_modrinth_deps
1 parent 99530a5 commit 56b6b09

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/update_modrinth_deps.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

8-
permissions:
9-
contents: write
10-
pull-requests: write
11-
128
jobs:
139
update-deps:
1410
runs-on: ubuntu-latest
@@ -24,3 +20,5 @@ jobs:
2420

2521
- name: Update Modrinth Dependencies
2622
uses: Wurst-Imperium/update-modrinth-deps@v1
23+
with:
24+
token: ${{ secrets.UMD_PR_TOKEN }}

gradle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ mcx_repo_id=Wurst-Imperium-MCX/ChestESP
3434
# check at https://modrinth.com/mod/modmenu/versions?g=1.21.11
3535
modmenu_version=17.0.0-beta.2
3636
# check at https://modrinth.com/mod/cloth-config/versions?l=fabric&g=1.21.11
37-
cloth_config_version=21.11.153+fabric
37+
cloth_config_version=21.11.153
3838
# check at https://modrinth.com/mod/lootr/versions?l=fabric&g=1.21.11
3939
lootr_version=YGHOIQfA
40-
# ^ that's fabric-1.21.11-1.19.33.100
4140
# turn off if Lootr is not yet available for the current Minecraft version
4241
do_mod_compat_test=true

modrinth_deps.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"fabric_api_version": "fabric-api",
33
"modmenu_version": "modmenu",
4-
"cloth_config_version": "cloth-config",
4+
"cloth_config_version": {
5+
"slug": "cloth-config",
6+
"version_transform": {
7+
"pattern": "\\+(fabric|neoforge)$",
8+
"replacement": ""
9+
}
10+
},
511
"lootr_version": {
612
"slug": "lootr",
713
"use_id": true

0 commit comments

Comments
 (0)