From e790b78a6048390c83b4b3087c665a3819333be3 Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Mon, 14 Aug 2023 14:26:45 -0700 Subject: [PATCH] Need to exit with an error code --- coverage-cop/action.yml | 1 + formatting/action.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/coverage-cop/action.yml b/coverage-cop/action.yml index 96b1ba25..6702a63a 100644 --- a/coverage-cop/action.yml +++ b/coverage-cop/action.yml @@ -100,6 +100,7 @@ runs: echo -e "${{ env.bashInfo }} This can be accessed by returning to the bottom of the summary page of the workflow run ${{ env.bashEnd }}" echo -e "${{ env.bashInfo }} At the bottom of the page will be a CodecovHTMLReport.zip file that you can download ${{ env.bashEnd }}" echo -e "${{ env.bashInfo }} Unzip the file and then open the index.html file in your browser for more info missing branch and line coverage ${{ env.bashEnd }}" + exit 1 diff --git a/formatting/action.yml b/formatting/action.yml index 80a35cb6..b5ee7594 100644 --- a/formatting/action.yml +++ b/formatting/action.yml @@ -161,3 +161,4 @@ runs: echo -e "${{ env.bashInfo }} This can be accessed by returning to the bottom of the summary page of the workflow run ${{ env.bashEnd }}" echo -e "${{ env.bashInfo }} At the bottom of the page will be a formattingChanges.patch file that you can download ${{ env.bashEnd }}" echo -e "${{ env.bashInfo }} Copy this patch to your repository and apply it using 'git apply formattingChanges.patch' ${{ env.bashEnd }}" + exit 1