aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-04-08 16:19:39 -0400
committerChris Evich <cevich@redhat.com>2021-04-12 09:59:30 -0400
commitde8243453d47648df0fa290592c9f1b33b384dd9 (patch)
tree7662831a7abe768f3197eb3f3b01b6a94ddcd52c
parent0ac73f25eb45611324f255b5222863b6ff0e8525 (diff)
downloadpodman-de8243453d47648df0fa290592c9f1b33b384dd9.tar.gz
podman-de8243453d47648df0fa290592c9f1b33b384dd9.tar.bz2
podman-de8243453d47648df0fa290592c9f1b33b384dd9.zip
Exclude .gitignore from test req.
Also sort the explicit files by name, since the list is growing. Signed-off-by: Chris Evich <cevich@redhat.com>
-rwxr-xr-xcontrib/cirrus/pr-should-include-tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cirrus/pr-should-include-tests b/contrib/cirrus/pr-should-include-tests
index 2bc06df50..9ccac17a3 100755
--- a/contrib/cirrus/pr-should-include-tests
+++ b/contrib/cirrus/pr-should-include-tests
@@ -32,8 +32,9 @@ fi
# This is OK if the only files being touched are "safe" ones.
filtered_changes=$(git diff --name-status $base $head |
awk '{print $2}' |
- fgrep -vx Makefile |
fgrep -vx .cirrus.yml |
+ fgrep -vx .gitignore |
+ fgrep -vx Makefile |
fgrep -vx changelog.txt |
fgrep -vx go.mod |
fgrep -vx go.sum |