Closed raprasad closed 3 years ago
convenience script
# reference: https://github.com/integrations/slack#configuration
# Repos to include
repos = ['smartnoise-core', 'smartnoise-core-python',
'smartnoise-sdk', 'smartnoise-samples',
'smartnoise-service', 'dp-test-datasets',
'opendp-schemas']
# Note:
# (1) subscribe enables default notices:
# - issues, pulls, statuses, commits, deployments, public, releases
# (2) unsubscribe limits it to: issues, pulls, public
#
for repo in repos:
print(f'\n--- Subscribe for opendifferentialprivacy/{repo} ---\n#')
print(f'/github subscribe opendifferentialprivacy/{repo}')
print(f'/github unsubscribe opendifferentialprivacy/{repo} statuses commits deployments releases')
# Fully unsubscribe
for repo in repos:
print(f'\n--- Unsubscribe for opendifferentialprivacy/{repo} ---\n#')
print(f'/github unsubscribe opendifferentialprivacy/{repo}')
docs: https://github.com/integrations/slack#repository-activity
Feed issues from multiple repositories into a Slack channel: