Skip to content

Commit

Permalink
Merge pull request #243 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 committed Jun 12, 2024
2 parents bdb62bd + 8a06eac commit 5686cf4
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 builder-lphxmjtnt11@axway.com
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 5686cf4

Please sign in to comment.