Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(commenting): Add commentingEnabled flag to control PR commenting #184

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

akash1810
Copy link
Member

What does this change?

If a repository builds for multiple Riff-Raff projects, receiving multiple comments (one per Riff-Raff project) can become noisy. For example guardian/support-service-lambdas#2587.

This change introduces a flag (commentingEnabled) to disable comments entirely. By default commentingEnabled is set to 'true'.

Note: this is more of a pragmatic change as in the ideal we'd still provide the deployment links, but grouped together under a single comment.

If a repository builds for multiple Riff-Raff projects, receiving multiple comments (one per Riff-Raff project) can become noisy.

This change introduces a flag (`commentingEnabled`) to disable comments entirely.
@akash1810
Copy link
Member Author

cc @rupertbates as author of guardian/support-service-lambdas#2587
cc @rtyley as author of #134

Would welcome your thoughts on this change.

Copy link
Member

@rupertbates rupertbates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 brilliant

@akash1810
Copy link
Member Author

Thanks to @rupertbates for testing this in guardian/support-service-lambdas#2597.

@akash1810 akash1810 merged commit 8a1c4a2 into main Dec 16, 2024
3 checks passed
@akash1810 akash1810 deleted the aa/commentingEnabled branch December 16, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants