Skip to content

Commit

Permalink
Added null chart (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored Oct 10, 2023
1 parent 93b4c38 commit 4d27e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ runs:
if [[ "${{ inputs.drift-detection-mode-enabled }}" == "true" ]]; then
# Split summary to 2 files - issue and step summary files
# Remove \0 at the end of the grep output
grep -Pzo '(.|\n)*(?=_______________ISSUE-MARKDOWN_______________\n)' ${{ steps.vars.outputs.summary_file }} | sed 's/0*$//' > ${{ steps.vars.outputs.step_summary_file }}
grep -Pzo '(?<=_______________ISSUE-MARKDOWN_______________\n)(.|\n)*' ${{ steps.vars.outputs.summary_file }} | sed 's/0*$//' > ${{ steps.vars.outputs.issue_file }}
grep -Pzo '(.|\n)*(?=_______________ISSUE-MARKDOWN_______________\n)' ${{ steps.vars.outputs.summary_file }} | grep -Pav "\x00" > ${{ steps.vars.outputs.step_summary_file }}
grep -Pzo '(?<=_______________ISSUE-MARKDOWN_______________\n)(.|\n)*' ${{ steps.vars.outputs.summary_file }} | grep -Pav "\x00" > ${{ steps.vars.outputs.issue_file }}
rm -f ${{ steps.vars.outputs.summary_file }}
else
mv ${{ steps.vars.outputs.summary_file }} ${{ steps.vars.outputs.step_summary_file }}
Expand Down

0 comments on commit 4d27e26

Please sign in to comment.