From 29e27c1283c7db5b822f562c541a9cbcf1493c41 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Sep 2025 14:33:49 +0000 Subject: [PATCH 1/3] chore(deps): update dependency microsoft.extensions.configuration.usersecrets to 9.0.9 --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 599c9f48..f6161697 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -23,7 +23,7 @@ - + From 46cd974a58643cee169803799f0eec823178db1a Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Tue, 9 Sep 2025 17:35:32 +0100 Subject: [PATCH 2/3] Update changelog update workflow Fix sed command to append entries in CHANGELOG.md --- .github/workflows/add_PR_2_chlog.yml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/add_PR_2_chlog.yml diff --git a/.github/workflows/add_PR_2_chlog.yml b/.github/workflows/add_PR_2_chlog.yml new file mode 100644 index 00000000..503ef7a0 --- /dev/null +++ b/.github/workflows/add_PR_2_chlog.yml @@ -0,0 +1,35 @@ +name: Update Changelog for Renovate PR + +on: + pull_request: + types: [opened, synchronize] + branches: + - dev # or your target branch + +jobs: + update-changelog: + if: github.actor == 'renovate[bot]' # Only run for Renovate PRs + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Extract PR title + id: pr_title + run: echo "title=${{ github.event.pull_request.title }}" >> $GITHUB_OUTPUT + + - name: Update CHANGELOG.md + run: | + TITLE="${{ steps.pr_title.outputs.title }}" + DATE=$(date +'%Y-%m-%d') + sed -i "/## \[Dependency update\]/a\\ + - ${DATE}: ${TITLE}" CHANGELOG.md + + - name: Commit changelog update + run: | + git config user.name "github-actions" + git config user.email "github-actions@github.com" + git add CHANGELOG.md + git commit -m "docs: update changelog for Renovate PR" + git push From 2da7d02a2c376b3d848f83c994b8503f7cfc6566 Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Tue, 9 Sep 2025 17:50:38 +0100 Subject: [PATCH 3/3] Update GitHub Actions workflow for PRs update --- .github/workflows/add_PR_2_chlog.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add_PR_2_chlog.yml b/.github/workflows/add_PR_2_chlog.yml index 503ef7a0..bb45078b 100644 --- a/.github/workflows/add_PR_2_chlog.yml +++ b/.github/workflows/add_PR_2_chlog.yml @@ -4,7 +4,17 @@ on: pull_request: types: [opened, synchronize] branches: - - dev # or your target branch + - v1.78.2-dev + workflow_dispatch: + inputs: + dryRun: + description: 'Run without committing changes' + required: false + default: 'true' + prTitle: + description: 'Simulated PR title' + required: false + default: 'chore(deps): update dependency X' jobs: update-changelog: