From 88e3ffd7b6c5ec1ea1a660354d25f02c766092e1 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Thu, 21 Jan 2021 19:50:35 +0000 Subject: [PATCH] github: automatically close pull requests This leverages the mistaken-pull-closer GitHub app to automatically close any GitHub pull requests. The submitter will receive a notice pointing them to the SPDK contribution guidelines for Gerrit instead. Signed-off-by: Jim Harris Change-Id: Ie8ab095b8b62cafa813427187b878df96ec87b7c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6034 Reviewed-by: Vasuki Manikarnike Reviewed-by: Tomasz Zawadzki Reviewed-by: Paul Luse Tested-by: SPDK CI Jenkins --- .github/mistaken-pull-closer.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/mistaken-pull-closer.yml diff --git a/.github/mistaken-pull-closer.yml b/.github/mistaken-pull-closer.yml new file mode 100644 index 0000000000..8114fa479c --- /dev/null +++ b/.github/mistaken-pull-closer.yml @@ -0,0 +1,10 @@ +filters: + - true + +commentBody: | + Thanks for your contribution! Unfortunately, we don't use GitHub pull + requests to manage code contributions to this repository. Instead, please + see https://spdk.io/development which provides instructions on how to + submit patches to the SPDK Gerrit instance. + +addLabel: false