-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from Axway/APIGOV-28116
APIGOV-28116 - fix update gomod
- Loading branch information
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' }} | ||
|