From 76c3b6b3627ef404a1c828b8fe36b447492453c2 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Thu, 17 Jul 2025 09:24:00 +0900 Subject: [PATCH 1/2] master, not main --- .github/workflows/bundle-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bundle-update.yml b/.github/workflows/bundle-update.yml index 744e30e332..a912b958b4 100644 --- a/.github/workflows/bundle-update.yml +++ b/.github/workflows/bundle-update.yml @@ -56,4 +56,4 @@ jobs: --title "bundle update `/Gemfile`" \ --body "Automated bundle update" \ --head "$(git rev-parse --abbrev-ref HEAD)" \ - --base "main" + --base "${{ github.event.repository.default_branch }}" From c5edc00840647be46c67cc719928f86e70f09cdb Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Thu, 17 Jul 2025 09:24:05 +0900 Subject: [PATCH 2/2] Print diff result --- .github/workflows/bundle-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bundle-update.yml b/.github/workflows/bundle-update.yml index a912b958b4..add348bd53 100644 --- a/.github/workflows/bundle-update.yml +++ b/.github/workflows/bundle-update.yml @@ -35,7 +35,7 @@ jobs: bundle lock --update git add Gemfile.lock - if git diff --cached --quiet; then + if git diff --cached --exit-code; then echo "No changes to commit, exiting." exit 0 fi