From 5e28191b127b7cc4b62f44c381a2e45c19b4c291 Mon Sep 17 00:00:00 2001 From: dfeldick Date: Thu, 13 Jun 2024 13:09:12 -0700 Subject: [PATCH] APIGOV-28116 - fix update go.mod --- .github/workflows/update-gomod-for-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-gomod-for-tests.yml b/.github/workflows/update-gomod-for-tests.yml index 194c089..99a48fb 100644 --- a/.github/workflows/update-gomod-for-tests.yml +++ b/.github/workflows/update-gomod-for-tests.yml @@ -29,8 +29,9 @@ jobs: git status | grep modified if [ $? -eq 0 ] then - echo -e "Dependency changes have occurred" - echo "gomodChanged=y" >> $GITHUB_OUTPUT + echo -e "Committing dependency changes" + git commit --allow-empty -m "Updating SDK in go.mod" + echo "gomodChanged=y" >> $GITHUB_OUTPUT else echo -e "No dependency changes since last run" echo "gomodChanged=n" >> $GITHUB_OUTPUT