diff --git a/.github/workflows/update-main-conf.yml b/.github/workflows/update-main-conf.yml
index 43cd668..7859338 100644
--- a/.github/workflows/update-main-conf.yml
+++ b/.github/workflows/update-main-conf.yml
@@ -1,7 +1,7 @@
name: Update main.conf
on:
- pull_request:
+ pull_request_target:
types:
- closed
branches:
@@ -21,6 +21,7 @@ jobs:
with:
ref: main
fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate main.conf
run: |
@@ -79,4 +80,5 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update main.conf from edit-me.txt
+ branch: main
file_pattern: main.conf
diff --git a/main.conf b/main.conf
index aa107d0..620c962 100644
--- a/main.conf
+++ b/main.conf
@@ -15,6 +15,11 @@ motds=[
line1="BorderMC - Released!"
line2="Now fully open!"
icon=random
+ },
+ {
+ line1="BorderMC - Released!"
+ line2="Nether reset 1/10/2026"
+ icon=random
}
]