summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/OWNERS2
-rw-r--r--ci/github-script/lint-commits.js9
2 files changed, 10 insertions, 1 deletions
diff --git a/ci/OWNERS b/ci/OWNERS
index e2dd4dfb79..bed7819d12 100644
--- a/ci/OWNERS
+++ b/ci/OWNERS
@@ -226,7 +226,7 @@
/meshmc/launcher/ui/pages/modplatform/atlauncher/ @YongDo-Hyun
/meshmc/launcher/ui/pages/modplatform/flame/ @YongDo-Hyun
/meshmc/launcher/ui/pages/modplatform/ftb/ @YongDo-Hyun
-/meshmc/launcher/ui/pages/modplatform/legacy_ftb @YongDo-Hyun
+/meshmc/launcher/ui/pages/modplatform/legacy_ftb/ @YongDo-Hyun
/meshmc/launcher/ui/pages/modplatform/modrinth/ @YongDo-Hyun
/meshmc/launcher/ui/pages/modplatform/technic/ @YongDo-Hyun
/meshmc/launcher/ui/setupwizard/ @YongDo-Hyun
diff --git a/ci/github-script/lint-commits.js b/ci/github-script/lint-commits.js
index ad8f1c63ac..6f2dc540a2 100644
--- a/ci/github-script/lint-commits.js
+++ b/ci/github-script/lint-commits.js
@@ -86,6 +86,15 @@ async function checkCommitMessages({ github, context, core, repoPath }) {
return
}
+ // Skip commit lint for automated bot PRs (e.g. Dependabot)
+ const prAuthor = pr.user?.login || ''
+ if (prAuthor === 'dependabot[bot]') {
+ core.info(
+ `PR author is "${prAuthor}". Skipping commit message checks for bot PRs.`,
+ )
+ return
+ }
+
const commits = await getCommitDetailsForPR({ core, pr, repoPath })
const failures = new Set()