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

Allow issue_comment_bot.py to run without updating issues or publishing Slack digest #9142

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Apr 24, 2024

Closes #9143

Adds --verbose and --no-labels flags, and makes the Slack token and channel optional arguments. Digest will only be published to Slack of both the token and the channel are present when the script is called. Our new_comment_digest action has been updated to accommodate these changes.
If the --no-labels flag is included, Needs: Response Issues which require feedback from lead labels are not added to the issues.
Detailed information about each identified issue is printed to stdout whenever the --verbose flag is included.

Technical

Testing

Screenshot

Stakeholders

Slack token and channel are now optional arguments.  If either
are missing, the digest will not be published to Slack.
When the `--verbose` flag is passed, detailed information about
each issue is printed.
@mekarpeles
Copy link
Member

LGTM, please merge when the merge check passes (which seems stalled)

@jimchamp jimchamp merged commit a3e27a5 into internetarchive:master Apr 24, 2024
3 checks passed
@jimchamp jimchamp deleted the add-no-labels-flag branch April 24, 2024 17:02
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.

Update issue_comment_bot to run without publishing a digest or updating issues
2 participants