|
|
@ -42,6 +42,8 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "${MOD_VERSION}" != "${LATEST_VERSION}" ]]; then
|
|
|
|
if [[ "${MOD_VERSION}" != "${LATEST_VERSION}" ]]; then
|
|
|
|
go mod edit -require="github.com/fluxcd/$1/api@${LATEST_VERSION}"
|
|
|
|
go mod edit -require="github.com/fluxcd/$1/api@${LATEST_VERSION}"
|
|
|
|
|
|
|
|
rm go.sum
|
|
|
|
|
|
|
|
go mod tidy
|
|
|
|
changed=true
|
|
|
|
changed=true
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
@ -59,9 +61,6 @@ jobs:
|
|
|
|
bump_version image-reflector-controller
|
|
|
|
bump_version image-reflector-controller
|
|
|
|
bump_version image-automation-controller
|
|
|
|
bump_version image-automation-controller
|
|
|
|
|
|
|
|
|
|
|
|
# add missing and remove unused modules
|
|
|
|
|
|
|
|
go mod tidy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# diff change
|
|
|
|
# diff change
|
|
|
|
git diff
|
|
|
|
git diff
|
|
|
|
|
|
|
|
|
|
|
@ -73,21 +72,21 @@ jobs:
|
|
|
|
id: cpr
|
|
|
|
id: cpr
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
|
|
commit-message: |
|
|
|
|
commit-message: |
|
|
|
|
Update toolkit components
|
|
|
|
Update toolkit components
|
|
|
|
|
|
|
|
|
|
|
|
${{ steps.update.outputs.pr_body }}
|
|
|
|
${{ steps.update.outputs.pr_body }}
|
|
|
|
committer: GitHub <noreply@github.com>
|
|
|
|
committer: GitHub <noreply@github.com>
|
|
|
|
author: fluxcdbot <fluxcdbot@users.noreply.github.com>
|
|
|
|
author: fluxcdbot <fluxcdbot@users.noreply.github.com>
|
|
|
|
signoff: true
|
|
|
|
signoff: true
|
|
|
|
branch: update-components
|
|
|
|
branch: update-components
|
|
|
|
title: Update toolkit components
|
|
|
|
title: Update toolkit components
|
|
|
|
body: |
|
|
|
|
body: |
|
|
|
|
${{ steps.update.outputs.pr_body }}
|
|
|
|
${{ steps.update.outputs.pr_body }}
|
|
|
|
labels: |
|
|
|
|
labels: |
|
|
|
|
area/build
|
|
|
|
area/build
|
|
|
|
reviewers: ${{ secrets.ASSIGNEES }}
|
|
|
|
reviewers: ${{ secrets.ASSIGNEES }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check output
|
|
|
|
- name: Check output
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|