Compare commits

..

2 Commits

Author SHA1 Message Date
f26e890cd2 Update helm/chart-testing-action action to v2.8.0 2025-12-07 22:48:12 +00:00
83f23d6f4a handle conditions better
All checks were successful
renovate / renovate (push) Successful in 1m11s
2025-12-07 16:47:30 -06:00

View File

@@ -92,7 +92,13 @@ jobs:
id: branch-exists
if: github.event_name == 'push' || steps.check-branch-exists.outputs.exists == 'true' && github.event_name == 'pull_request'
run: |
echo ">> Branch ${{ gitea.base_ref }} exists, will continue with linting"
if [ ${{ github.event_name == 'push' }} ]; then
echo ">> Action is from a push event, will continue with linting"
else
echo ">> Branch ${{ gitea.base_ref }} exists, will continue with linting"
fi
echo "----"
@@ -100,6 +106,7 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v4
if: steps.branch-exists.outputs.exists == 'true'
with:
token: ${{ secrets.GITEA_TOKEN }}
version: v3
@@ -129,7 +136,7 @@ jobs:
for path in $GIT_DIFF; do
CHANGED_CHARTS+=$(echo "$path" | awk -F '/' '{print $2}')
RENDER_DIR+=$(echo " ")
CHANGED_CHARTS+=$(echo " ")
done
else