-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: test proper merge-base handling
Signed-off-by: Adam Cmiel <[email protected]>
- Loading branch information
Showing
6 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
test/resources/differential/dont-report-stale-issues/csdiff.sarif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/sarif-2.1.0.json", | ||
"version": "2.1.0", | ||
"inlineExternalProperties": [ | ||
{ | ||
"externalizedProperties": { | ||
"tool": "ShellCheck", | ||
"tool-url": "https://www.shellcheck.net/wiki/", | ||
"tool-version": "0.10.0" | ||
} | ||
} | ||
], | ||
"runs": [ | ||
{ | ||
"tool": { | ||
"driver": { | ||
"name": "ShellCheck", | ||
"version": "0.10.0", | ||
"informationUri": "https://www.shellcheck.net/wiki/" | ||
} | ||
}, | ||
"results": [] | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
test/resources/differential/dont-report-stale-issues/csgrep.embed4.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
test/resources/differential/dont-report-stale-issues/sarif-fmt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
21 changes: 21 additions & 0 deletions
21
test/resources/patches/0001-Modify-without-introducing-issues.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From deadbeef01deadbeef02deadbeef03deadbeef04 Mon Sep 17 00:00:00 2001 | ||
From: Checkton Patcher <[email protected]> | ||
Date: Thu, 20 Jun 2024 16:00:00 +0000 | ||
Subject: [PATCH] Modify without introducing issues | ||
|
||
--- | ||
test/resources/files-to-check/tektontask.yaml | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/test/resources/files-to-check/tektontask.yaml b/test/resources/files-to-check/tektontask.yaml | ||
index 150a030..7b1c648 100644 | ||
--- a/test/resources/files-to-check/tektontask.yaml | ||
+++ b/test/resources/files-to-check/tektontask.yaml | ||
@@ -34,3 +34,4 @@ spec: | ||
#!/bin/bash -e -u -o pipefail | ||
echo "I mean, if I went around saying I was an emperor just because some moistened bint had lobbed a scimitar at me, they'd put me away!" | ||
echo $HI | ||
+status: {} | ||
-- | ||
2.45.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters