Skip to content

Commit 77fdb9f

Browse files
authored
chore(github): update CRDs if renovate finds an argo workflows version bump (#3618)
chore(github): automatically update CRDs if renovate finds an argo workflows version bump Signed-off-by: Tim Collins <[email protected]>
1 parent d2545cc commit 77fdb9f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/renovate-bump-version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ sed -i -e '/^ artifacthub.io\/changes: |/,$ d' "${chart_yaml_path}"
3939
echo " description: Bump ${dependency_name} to ${dependency_version}"
4040
} >> "${chart_yaml_path}"
4141
cat "${chart_yaml_path}"
42+
43+
# If the dependency is argo-workflows, also update CRDs
44+
if [[ "$dependency_name" == "argo-workflows" ]]; then
45+
"$(dirname "$0")/update-argo-workflows-crds.sh" "$dependency_version"
46+
fi

0 commit comments

Comments
 (0)