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

Commit

Permalink
Merge pull request #114 from Axway/APIGOV-28116
Browse files Browse the repository at this point in the history
APIGOV-28116 - fix update go.mod
  • Loading branch information
dfeldick authored Jun 12, 2024
2 parents eb4a4d1 + f1c2979 commit 9e0a36f
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 9e0a36f

Please sign in to comment.