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

Bot only reports moving to trash_bin when relevant #292

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Neves-P
Copy link
Member

@Neves-P Neves-P commented Jan 22, 2025

In this PR, the bot will only write a comment when a PR is closed if any directories were actually moved to the trash_bin. Without this, bots that didn't build anything but are listening on PRs will still comment that an empty list was moved to the trash bin directory.

I have not yet tested this live on a bot build, but can do so on the dev.eessi.io bot

This PR is related to #290 but does fix it.

Copy link
Contributor

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel
Copy link
Contributor

boegel commented Jan 22, 2025

@Neves-P Looks look, but perhaps better test on a live bot to make 100% sure?

@Neves-P
Copy link
Member Author

Neves-P commented Jan 22, 2025

@boegel , agreed! I'd like to try out in a live bot (but not the main bots). I should be able to try it on the dev.eessi.io bot, or make a new bot instance in RUG.

I hope to have a bit of time to try it this week, if not I will do so early next week 👍

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