Skip to content

Commit

Permalink
Merge pull request #36 from fluxcd/fix/update
Browse files Browse the repository at this point in the history
Add go mod tidy and format PR comment for update action
  • Loading branch information
stefanprodan authored Nov 11, 2020
2 parents 2820690 + 9d9a607 commit a30adde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
CURRENT_VERSION=$(go list -m all | grep github.com/fluxcd/flux2 | awk '{print $2}')
if [[ "${RELEASE_VERSION}" != "${CURRENT_VERSION}" ]]; then
go mod edit -require github.com/fluxcd/flux2@${RELEASE_VERSION}
go mod tidy
fi
git diff
Expand All @@ -38,7 +39,9 @@ jobs:
title: Update manifestgen dependency
body: |
${{ steps.update.outputs.pr_body }}
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-components
reviewers: ${{ secrets.ASSIGNEES }}
Expand Down

0 comments on commit a30adde

Please sign in to comment.