Skip to content

Commit e8e8eea

Browse files
RC-451 Generate ruling diffs when SARIF baselines do not exist yet
1 parent b8c1566 commit e8e8eea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/actions/upload-actual/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ runs:
4040
NAME: ${{ inputs.name }}
4141
run: |
4242
cd "${IT_DIR}"
43-
mkdir -p target
44-
diff --unified --recursive --strip-trailing-cr "${EXPECTED_DIR}" "${ACTUAL_DIR}" > "target/test.diff" || true
43+
mkdir -p target "${EXPECTED_DIR}"
44+
diff --unified --recursive --new-file --strip-trailing-cr "${EXPECTED_DIR}" "${ACTUAL_DIR}" > "target/test.diff" || true
4545
npx diff2html-cli --input file --style side --file "target/diff_${NAME}.html" -- "target/test.diff"
4646
4747
- name: Upload Diff Report

0 commit comments

Comments
 (0)