Skip to content

Commit

Permalink
APIGOV-28116 - fix update gomod
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeldick committed Jun 12, 2024
1 parent e406887 commit 325b28e
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 @@ -30,18 +30,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 325b28e

Please sign in to comment.