From de8243453d47648df0fa290592c9f1b33b384dd9 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Thu, 8 Apr 2021 16:19:39 -0400 Subject: Exclude .gitignore from test req. Also sort the explicit files by name, since the list is growing. Signed-off-by: Chris Evich --- contrib/cirrus/pr-should-include-tests | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/cirrus/pr-should-include-tests') 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 | -- cgit v1.2.3-54-g00ecf