From 35f478ffc8723a8b9567afca04a6707bcc806563 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Wed, 15 Nov 2023 11:02:21 -0700 Subject: [PATCH] Tweak instructions for GitHub Slack integration --- approach/tooling.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/approach/tooling.md b/approach/tooling.md index e104c74..9eef0fe 100644 --- a/approach/tooling.md +++ b/approach/tooling.md @@ -148,17 +148,23 @@ When people join, they automatically land in #welcome #general #seaside-chats #e We'd love for most resource sharing and conversations to happen in the open and in a more persistent location than Slack. Places like GitHub Discussions are great for this. Thanks to [Matt Fisher](https://github.com/MattF-NSIDC) for getting us started with Slack notifications for GitHub Discussions. -We can set a Slack channel to subscribe to one repo, and one type of event. Subscribing a channel looks like: -`/github subscribe NASA-Openscapes/earthdata-cloud-cookbook discussions` +We can subscribe Slack channels by repository and event types we're interested in. In Slack, we can run `/github help` to get some more info on the command to modify subscriptions. [Full documentation](https://github.com/integrations/slack/blob/master/README.md). -This will subscribe to the default notifications + discussions. We then have to unsubscribe from the defaults to quiet it down: -`/github unsubscribe NASA-Openscapes/earthdata-cloud-cookbook issues pulls commits releases deployments` +#### Example -This can be repeated on any channel and we can add/remove repos and events at will. +The Slack `#nasa-mentors` channel is set to get notified of new and answered [discussions](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/discussions) for just the [Earthdata Cloud Cookbook GitHub repo](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook). +The subscription process was started with this command: -**Example:** The Slack #nasa-mentors channel is set to get notified of new and answered [discussions](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/discussions) for just the [Earthdata Cloud Cookbook GitHub repo](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook). +``` +/github subscribe NASA-Openscapes/earthdata-cloud-cookbook discussions +``` + +The above will subscribe to "discussions" in addition to undesirable [default notifications](https://github.com/integrations/slack/blob/master/README.md#customize-your-notifications). We can unsubscribe from the defaults to quiet it down with another comment: + +``` +/github unsubscribe NASA-Openscapes/earthdata-cloud-cookbook issues pulls commits releases deployments +``` -In Slack, we can run `/github help` to get some more info on the command to modify subscriptions. Full [documentation](https://github.com/integrations/slack/blob/master/README.md) ## Zenodo {#sec-zenodo}