From 0613772419ff292a4c599f812d79ae33a49d40fd Mon Sep 17 00:00:00 2001 From: Miah Johnson Date: Wed, 28 Aug 2019 11:16:08 -0700 Subject: [PATCH] Let expeditor respond to pull requests. closes 4429 Signed-off-by: Miah Johnson --- .expeditor/config.yml | 3 +++ .expeditor/templates/pull_request.mustache | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 .expeditor/templates/pull_request.mustache diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 505e6b6ce..009c4ba9c 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -146,3 +146,6 @@ subscriptions: - bash:.expeditor/announce-release.sh: post_commit: true - built_in:notify_chefio_slack_channels + - workload: pull_request_opened:{{agent_id}}:* + actions: + - post_github_comment:.expeditor/templates/pull_request.mustache diff --git a/.expeditor/templates/pull_request.mustache b/.expeditor/templates/pull_request.mustache new file mode 100644 index 000000000..f9e7109e6 --- /dev/null +++ b/.expeditor/templates/pull_request.mustache @@ -0,0 +1,7 @@ +Hello {{author}}! Thanks for the pull request! + +Here is what will happen next: +1. Your PR will be reviewed by the maintainers +2. If everything looks good, one of them will approve it, and your PR will be merged. + +Thank you for contributing!