diff --git a/.github/workflows/autochangelog.yml b/.github/workflows/autochangelog.yml index 13b5805470..1707b7ecdb 100644 --- a/.github/workflows/autochangelog.yml +++ b/.github/workflows/autochangelog.yml @@ -1,4 +1,4 @@ -# Creates an entry in html/changelogs automatically, to eventually be compiled by compile_changelogs +# Creates an entry in html/changelogs_ch automatically, to eventually be compiled by compile_changelogs name: Auto Changelog on: pull_request_target: diff --git a/.github/workflows/compile_changelogs.yml b/.github/workflows/compile_changelogs.yml index 64d4968ec8..c520408626 100644 --- a/.github/workflows/compile_changelogs.yml +++ b/.github/workflows/compile_changelogs.yml @@ -38,14 +38,14 @@ jobs: - name: "Compile" if: steps.value_holder.outputs.ACTIONS_ENABLED run: | - python tools/ss13_genchangelog.py html/changelogs + python tools/ss13_genchangelog.py html/changelogs_ch - name: Commit if: steps.value_holder.outputs.ACTIONS_ENABLED run: | git config --local user.email "action@github.com" git config --local user.name "Changelogs" git pull origin master - git add html/changelogs + git add html/changelogs_ch git commit -m "Automatic changelog compile [ci skip]" -a || true - name: "Push" if: steps.value_holder.outputs.ACTIONS_ENABLED diff --git a/tools/pull_request_hooks/autoChangelog.js b/tools/pull_request_hooks/autoChangelog.js index bc24481f18..d73a6ecb43 100644 --- a/tools/pull_request_hooks/autoChangelog.js +++ b/tools/pull_request_hooks/autoChangelog.js @@ -35,7 +35,7 @@ export async function processAutoChangelog({ github, context }) { github.rest.repos.createOrUpdateFileContents({ owner: context.repo.owner, repo: context.repo.repo, - path: `html/changelogs/AutoChangeLog-pr-${context.payload.pull_request.number}.yml`, + path: `html/changelogs_ch/AutoChangeLog-pr-${context.payload.pull_request.number}.yml`, message: `Automatic changelog for PR #${context.payload.pull_request.number} [ci skip]`, content: Buffer.from(yml).toString("base64"), });