Skip to content

Commit 15ce0eb

Browse files
authored
Merge pull request #2603 from ruby/workflow-2
Bundle update by github action
2 parents 97c312e + c5edc00 commit 15ce0eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/bundle-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
bundle lock --update
3636
git add Gemfile.lock
3737
38-
if git diff --cached --quiet; then
38+
if git diff --cached --exit-code; then
3939
echo "No changes to commit, exiting."
4040
exit 0
4141
fi
@@ -56,4 +56,4 @@ jobs:
5656
--title "bundle update `/Gemfile`" \
5757
--body "Automated bundle update" \
5858
--head "$(git rev-parse --abbrev-ref HEAD)" \
59-
--base "main"
59+
--base "${{ github.event.repository.default_branch }}"

0 commit comments

Comments
 (0)