aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/pr-check.yml2
-rw-r--r--buildSrc/src/main/kotlin/skyhannibuildsystem/ChangelogVerification.kt1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml
index cabb09c1d..3702088f8 100644
--- a/.github/workflows/pr-check.yml
+++ b/.github/workflows/pr-check.yml
@@ -46,7 +46,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
- const test = fs.readFileSync('build/changelog_errors.txt', 'utf8');
+ const test = fs.readFileSync('versions/1.8.9/build/changelog_errors.txt', 'utf8');
const commentBody = `${test}`
github.rest.issues.createComment({
diff --git a/buildSrc/src/main/kotlin/skyhannibuildsystem/ChangelogVerification.kt b/buildSrc/src/main/kotlin/skyhannibuildsystem/ChangelogVerification.kt
index 422a62cb1..8ac54d6fc 100644
--- a/buildSrc/src/main/kotlin/skyhannibuildsystem/ChangelogVerification.kt
+++ b/buildSrc/src/main/kotlin/skyhannibuildsystem/ChangelogVerification.kt
@@ -45,6 +45,7 @@ abstract class ChangelogVerification : DefaultTask() {
// Export errors so that they can be listed in the PR comment
val errorFile = File(outputDirectory.get().asFile, "changelog_errors.txt")
+ println("saved error file to: ${errorFile.path}")
errorFile.appendText("I have detected some issues with your pull request:\n\n")