From 372aaa82bd820985fde70e8a4f0d0cb5aba62d45 Mon Sep 17 00:00:00 2001 From: Justin Perkins Date: Wed, 20 Feb 2019 23:35:02 -0500 Subject: [PATCH 1/3] Provide accurate information This README is completely inaccurate for GitHub organizations. Let's fix that. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 97025d911..5d634d615 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Settings are configured with the `/github` slash command: /github unsubscribe owner/repo [feature] ``` -These are enabled by default, and can be disabled with the `/github unsubscribe owner/repo [feature]` command: +These are enabled by default (when subscribing to a repo, for organizations, see below), and can be disabled with the `/github unsubscribe owner/repo [feature]` command: - `issues` - Opened or closed issues - `pulls` - New or merged pull requests @@ -121,6 +121,12 @@ These are enabled by default, and can be disabled with the `/github unsubscribe - `public` - A repository switching from private to public - `releases` - Published releases +If you are subscribing to an organization, the above "defaults" will only be applied to your default github branch. This is typically master, but can be configured to be any branch you like (under repo settings). If you are using the GitHub Slack app in an organization, and you'd like to receive Slack notifications for everything you might care about, this is the command for you: + +``` +/github subscribe organization issues pulls statuses commits deployments public releases reviews comments branches commits:all +``` + These are disabled by default, and can be enabled with the `/github subscribe owner/repo [feature]` command: - `reviews` - Pull request reviews From 644c5fb4a84f24fc74ff437e4b42a8eec06ee556 Mon Sep 17 00:00:00 2001 From: Justin Perkins Date: Thu, 24 Feb 2022 09:51:24 -0500 Subject: [PATCH 2/3] updated command for entire org --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 20c7a69a3..c403516fb 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,8 @@ These are enabled by default (when subscribing to a repo, for organizations, see If you are subscribing to an organization, the above "defaults" will only be applied to your default github branch. This is typically master, but can be configured to be any branch you like (under repo settings). If you are using the GitHub Slack app in an organization, and you'd like to receive Slack notifications for everything you might care about, this is the command for you: ``` -/github subscribe organization issues pulls statuses commits deployments public releases reviews comments branches commits:all +/github subscribe imagerelay issues pulls commits deployments releases reviews comments branches discussions commits:all + ``` These are disabled by default, and can be enabled with the `/github subscribe owner/repo [feature]` command: From 8ea7c2b13bc302be309f12c8c1d7ef9d2c6a64ec Mon Sep 17 00:00:00 2001 From: Justin Perkins Date: Mon, 9 Sep 2024 16:29:19 -0400 Subject: [PATCH 3/3] Replace actual company name with placeholder (`duh`) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c403516fb..951eda362 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ These are enabled by default (when subscribing to a repo, for organizations, see If you are subscribing to an organization, the above "defaults" will only be applied to your default github branch. This is typically master, but can be configured to be any branch you like (under repo settings). If you are using the GitHub Slack app in an organization, and you'd like to receive Slack notifications for everything you might care about, this is the command for you: ``` -/github subscribe imagerelay issues pulls commits deployments releases reviews comments branches discussions commits:all +/github subscribe issues pulls commits deployments releases reviews comments branches discussions commits:all ```