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

MINOR Remove needs-attention label after review #18366

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

mumrah
Copy link
Member

@mumrah mumrah commented Dec 31, 2024

Follow up from #18147 to also remove the needs-attention label

@github-actions github-actions bot added build Gradle build or GitHub Actions small Small PRs labels Dec 31, 2024
@mumrah
Copy link
Member Author

mumrah commented Dec 31, 2024

Tested on my fork

mumrah#30

image

Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@mumrah thanks for this patch

@@ -57,6 +57,21 @@ jobs:
issue_number: pull.number,
name: "triage"
});
try {
Copy link
Member

Choose a reason for hiding this comment

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

Out of curiosity, why do we have extra logging specifically for removing the needs-attention label? We don't seem to have similar logging for other labels like triage.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since the issue search is filtering for label:triage, we know all the found PRs will have that label. We do log something for each of this (on L53)

console.log("Removing 'triage' label from PR " + pull.number + " : " + pull.title);

To be consistent, I thought we should log a message when we remove "needs-attention".


This log line is a bit extraneous. I'll remove it

console.log("PR did not have 'needs-attention' label");

@mumrah mumrah requested a review from chia7712 January 2, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Gradle build or GitHub Actions small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants