From aad77c9a90349fe6ec411ba4dd28b59816357caa Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 11:36:38 +0100 Subject: [PATCH 01/10] Create auto-update-changlog.yaml --- .github/workflows/auto-update-changlog.yaml | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/auto-update-changlog.yaml diff --git a/.github/workflows/auto-update-changlog.yaml b/.github/workflows/auto-update-changlog.yaml new file mode 100644 index 0000000..e843d8a --- /dev/null +++ b/.github/workflows/auto-update-changlog.yaml @@ -0,0 +1,31 @@ +name: Auto-update changelog + +on: + workflow_call: {} + +permissions: {} + +jobs: + report: + runs-on: ubuntu-latest + permissions: + contents: write # To push commits + #pull-requests: write # To comment in PR + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + fetch-depth: 0 # We need the full history to compare changes + persist-credentials: false + + - name: Update changelog + uses: anthropics/claude-code-action@70e16deb18402428bd09e08d1ec3662a872e3c72 # v1.0.41 + with: + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + prompt: | + If a CHANGELOG.md file exists in the repository root, check if the current pull request updates it. + + If CHANGELOG.md exists but is not updated in this PR, update it with information about the changes in this branch compared to the default branch. + + Normally, dependency updates fall under the `### Changed` category. In some cases, if they are security-related, they might fall under the `### Fixed` category. Check the pull request title and description for hints. + claude_args: "--max-turns 5 --model claude-opus-4-5-20251101" From 3e241a3b1c4b09bcc22a0dd2189885eba7e70e50 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 11:44:55 +0100 Subject: [PATCH 02/10] Set token --- .github/workflows/auto-update-changlog.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-update-changlog.yaml b/.github/workflows/auto-update-changlog.yaml index e843d8a..05616d2 100644 --- a/.github/workflows/auto-update-changlog.yaml +++ b/.github/workflows/auto-update-changlog.yaml @@ -22,6 +22,7 @@ jobs: uses: anthropics/claude-code-action@70e16deb18402428bd09e08d1ec3662a872e3c72 # v1.0.41 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + github_token: ${{ secrets.TAYLORBOT_GITHUB_ACTION }} prompt: | If a CHANGELOG.md file exists in the repository root, check if the current pull request updates it. From 8c84c2dc75d40c672fc210d24b06dad244517599 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 11:57:29 +0100 Subject: [PATCH 03/10] Fix file name typo --- .../{auto-update-changlog.yaml => auto-update-changelog.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{auto-update-changlog.yaml => auto-update-changelog.yaml} (100%) diff --git a/.github/workflows/auto-update-changlog.yaml b/.github/workflows/auto-update-changelog.yaml similarity index 100% rename from .github/workflows/auto-update-changlog.yaml rename to .github/workflows/auto-update-changelog.yaml From 01d7d02f65457ae19b8d2decfced8a4b0dd39456 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 11:58:30 +0100 Subject: [PATCH 04/10] Declare required secrets --- .github/workflows/auto-update-changelog.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index 05616d2..c170906 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -1,7 +1,12 @@ name: Auto-update changelog on: - workflow_call: {} + workflow_call: + secrets: + ANTHROPIC_API_KEY: + required: true + TAYLORBOT_GITHUB_ACTION: + required: true permissions: {} From 446a60336d323fc3bec478f1b3863bb95d593094 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 12:05:03 +0100 Subject: [PATCH 05/10] Appease yamllint --- .github/workflows/auto-update-changelog.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index c170906..66506f4 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -29,9 +29,13 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} github_token: ${{ secrets.TAYLORBOT_GITHUB_ACTION }} prompt: | - If a CHANGELOG.md file exists in the repository root, check if the current pull request updates it. - - If CHANGELOG.md exists but is not updated in this PR, update it with information about the changes in this branch compared to the default branch. + If a CHANGELOG.md file exists in the repository root, check if the current pull + request updates it. - Normally, dependency updates fall under the `### Changed` category. In some cases, if they are security-related, they might fall under the `### Fixed` category. Check the pull request title and description for hints. + If CHANGELOG.md exists but is not updated in this PR, update it with information + about the changes in this branch compared to the default branch. + + Normally, dependency updates fall under the `### Changed` category. In some cases, + if they are security-related, they might fall under the `### Fixed` category. Check + the pull request title and description for hints. claude_args: "--max-turns 5 --model claude-opus-4-5-20251101" From 51a6259ed0395daff1045e0b5c496e91be3aa4c8 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 12:07:44 +0100 Subject: [PATCH 06/10] Add commenting --- .github/workflows/auto-update-changelog.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index 66506f4..5821af8 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write # To push commits - #pull-requests: write # To comment in PR + pull-requests: write # To comment in PR steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -38,4 +38,6 @@ jobs: Normally, dependency updates fall under the `### Changed` category. In some cases, if they are security-related, they might fall under the `### Fixed` category. Check the pull request title and description for hints. + + Comment into the PR to inform the author about your updating of the changelog. claude_args: "--max-turns 5 --model claude-opus-4-5-20251101" From 0b13c5792af33f40bd8228004bf165ae29dc5042 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 12:14:04 +0100 Subject: [PATCH 07/10] Allow tools --- .github/workflows/auto-update-changelog.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index 5821af8..fc0903b 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -40,4 +40,7 @@ jobs: the pull request title and description for hints. Comment into the PR to inform the author about your updating of the changelog. - claude_args: "--max-turns 5 --model claude-opus-4-5-20251101" + claude_args: > + --max-turns 5 + --model claude-opus-4-5-20251101 + --allowedTools Bash From 1d37c1d2e31ec10e2104b233b7ef002486c5add6 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 2 Feb 2026 12:19:34 +0100 Subject: [PATCH 08/10] Use haiku, allow more turns --- .github/workflows/auto-update-changelog.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index fc0903b..fadda75 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -41,6 +41,6 @@ jobs: Comment into the PR to inform the author about your updating of the changelog. claude_args: > - --max-turns 5 - --model claude-opus-4-5-20251101 + --max-turns 10 + --model claude-haiku-4-5-20251101 --allowedTools Bash From 695d786d6d556bb4ae20f3177c04fbca9588f89a Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Tue, 3 Feb 2026 10:10:13 +0100 Subject: [PATCH 09/10] Use NodeJS v24 --- .github/workflows/auto-update-changelog.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index fadda75..0f9f977 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -17,6 +17,10 @@ jobs: contents: write # To push commits pull-requests: write # To comment in PR steps: + - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + with: + node-version: '24' + - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: From b3c1ec8ee0c34a1044674c9d0b448e96cd24b011 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Tue, 3 Feb 2026 10:16:26 +0100 Subject: [PATCH 10/10] Update Node.js version in workflow to 20 --- .github/workflows/auto-update-changelog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-update-changelog.yaml b/.github/workflows/auto-update-changelog.yaml index 0f9f977..4d9fe79 100644 --- a/.github/workflows/auto-update-changelog.yaml +++ b/.github/workflows/auto-update-changelog.yaml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: - node-version: '24' + node-version: '20' - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2