From 55c7a73828a9be52d56f016d024d25c94deaf62f Mon Sep 17 00:00:00 2001
From: pernio <91829829+pernio@users.noreply.github.com>
Date: Thu, 10 Sep 2026 12:03:52 +0000
Subject: [PATCH 1/2] Update main.conf from edit-me.txt
---
main.conf | 5 +++++
1 file changed, 5 insertions(+)
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
}
]
From 9459d059bc7425ffd3fb3956bb3881f469eaa5ed Mon Sep 17 00:00:00 2001
From: Jinzo <91829829+pernio@users.noreply.github.com>
Date: Thu, 10 Sep 2026 14:07:40 +0200
Subject: [PATCH 2/2] Change workflow
---
.github/workflows/update-main-conf.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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