Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
APIGOV-28116 - fix update go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeldick committed Jun 12, 2024
1 parent eb4a4d1 commit f1c2979
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/update-gomod-for-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,13 @@ jobs:
git status | grep modified
if [ $? -eq 0 ]
then
set -e
echo -e "Committing dependency changes"
git config --global user.email [email protected]
git config --global user.name builder-lphxmjtnt11
git commit --allow-empty -m "Updating SDK in go.mod"
git push origin ${BRANCH_REF}
echo -e "Dependency changes have occurred"
echo "gomodChanged=y" >> $GITHUB_OUTPUT
else
set -e
echo -e "No dependency changes since last run"
echo "gomodChanged=n" >> $GITHUB_OUTPUT
fi
set -e
- name: Create Pull Request
if: ${{ steps.updatesdk.outputs.gomodChanged == 'y' }}
Expand Down

0 comments on commit f1c2979

Please sign in to comment.