Skip to content

Commit

Permalink
feat: Store failed services to output of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-bisonai committed Feb 12, 2024
1 parent fe67472 commit 1518752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.helm-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
uses: WyriHaximus/github-action-helm3@v3
with:
exec: |
failed_services=""
for file in $(git diff --name-only HEAD~1..HEAD); do
dir=$(dirname $file)
Expand All @@ -44,6 +43,6 @@ jobs:
if [ -n "$failed_services" ]; then
# Remove the trailing comma and space
failed_services=${failed_services%??}
echo "Lint failed services: $failed_services"
echo "Lint failed services: $failed_services" >> $GITHUB_OUTPUT
exit 1
fi

0 comments on commit 1518752

Please sign in to comment.