From 6b1d840bf1eb904b1f43067849ea9d59fe893ccd Mon Sep 17 00:00:00 2001 From: Gregory Meno Date: Wed, 10 May 2017 14:03:53 -0700 Subject: [PATCH] filter files in PR to be only files ending in .sh$ Signed-off-by: Gregory Meno --- ceph-docker-lint/build/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph-docker-lint/build/build b/ceph-docker-lint/build/build index e168ec39..41d7621e 100755 --- a/ceph-docker-lint/build/build +++ b/ceph-docker-lint/build/build @@ -13,7 +13,8 @@ function generate_filelist(){ else curl -XGET "https://api.github.com/repos/ceph/ceph-docker/pulls/$pull_request_id/files" | jq '.[].filename' | # just the files please - tr -d '"' # remove the quoting from JSON + tr -d '"' | # remove the quoting from JSON + grep ".sh$" # just the bash fi } -- 2.39.5