Skip to content

Commit

Permalink
chore(deps): update dependency helm to v3.13.2 (#2331)
Browse files Browse the repository at this point in the history
* 👷🏼 🚧 WIP: Try to detect error in the workflow and fix it;

* chore(deps): update dependency helm to v3.13.2

---------

Co-authored-by: Jörg Weisbarth <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and joergdw authored Nov 9, 2023
1 parent 4241ef7 commit 8e80c54
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- "renovate/**"
- "dependabot/**"
paths:
- ".github/workflows/dependency-update-go-mod-tidy.yaml"
- ".github/workflows/dependency-update.go-mod-tidy_and_make-package-specs.yaml"
- "src/**/go.mod"
- "src/**/go.sum"
push:
Expand All @@ -17,7 +17,7 @@ on:
- "renovate/**"
- "dependabot/**"
paths:
- ".github/workflows/dependency-update-go-mod-tidy.yaml"
- ".github/workflows/dependency-update.go-mod-tidy_and_make-package-specs.yaml"
- "src/**/go.mod"
- "src/**/go.sum"
workflow_dispatch: {}
Expand Down Expand Up @@ -69,12 +69,15 @@ jobs:
declare -r commit_author_name="${{github.event.head_commit.author.name}}"
declare -r commit_message="${{github.event.head_commit.message}}"
if [[ ! "${commit_author_name}" =~ ('dependabot'|'renovate')'[bot]' ]] \
|| [[ "${commit_message}" == "${tidy_message}" ]]
then
echo 'This commit was not by a known bot or already an automatic `go mod tidy`! Exiting …'
exit 0
fi
## 👷🏼🚧 To-do: Un-comment me again
# if [[ ! "${commit_author_name}" =~ ('dependabot'|'renovate')'[bot]' ]] \
# || [[ "${commit_message}" == "${tidy_message}" ]]
# then
# echo 'This commit was not by a known bot or already an automatic `go mod tidy`! Exiting …'
# exit 0
# fi
echo '👷🏼🚧 Position 1' # To-do: remove
# Generated files are needed for `go mod tidy` which is a dependency of the
# target `package-specs`. However the generation of them itself already
Expand All @@ -86,14 +89,22 @@ jobs:
make generate-openapi-generated-clients-and-servers
git checkout "${current_branch}"
echo '👷🏼🚧 Position 2' # To-do: remove
# ⚠️ For this workflow to be successful, the subsequent line must not
# trigger again the creation of the generated files.
make package-specs
declare -i -r changed_files=$(git status --porcelain | wc --lines)
if ((changed_files >= 0))
echo '👷🏼🚧 Position 3' # To-do: remove
declare -i -r num_changed_files=$(git status --porcelain | wc --lines)
if ((num_changed_files >= 0))
then
echo 'Changes to some files were necessary!'
git add .
git commit --message="${tidy_message}"
git push
else
echo 'No files changed!'
fi
echo '🏁'
2 changes: 1 addition & 1 deletion ci/terragrunt/.tool-versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gcloud 454.0.0
helm 3.13.1
helm 3.13.2
python 3.12.0
terraform 1.6.3
terraform-lsp
Expand Down

0 comments on commit 8e80c54

Please sign in to comment.