From fef0346e0fed43a938dcfd8c072452257ee53b5e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 22:18:46 +0000 Subject: [PATCH] chore(config): migrate renovate config (#42) * chore(config): migrate config .github/renovate.json * Update .github/renovate.json Signed-off-by: Nicholas Felt * ci: Update workflow to get the top two commits, to ensure the data necessary can be read --------- Signed-off-by: Nicholas Felt Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nicholas Felt --- .github/renovate.json | 4 ++-- .github/workflows/update-python-dependencies.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index c2bf0039..140ab131 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -51,8 +51,8 @@ { "description": "Group together all python-semantic-release dependencies", "groupName": "python-semantic-release dependencies", - "matchPackagePatterns": [ - "^python-semantic-release*" + "matchPackageNames": [ + "^python-semantic-release" ] }, { diff --git a/.github/workflows/update-python-dependencies.yml b/.github/workflows/update-python-dependencies.yml index b77beb78..de88bcbe 100644 --- a/.github/workflows/update-python-dependencies.yml +++ b/.github/workflows/update-python-dependencies.yml @@ -15,7 +15,7 @@ jobs: - name: Get commit message id: get-commit-message run: | - commit_message="$(git log -1 --pretty=%B)" + commit_message="$(git log -2 --pretty=%B | sed -n '2p')" echo "commit-message=$commit_message" >> "$GITHUB_OUTPUT" - name: Determine the groups that will need to be exported id: set-output