Skip to content

Conversation

@keyonghan
Copy link
Contributor


/// Gets label list for an issue.
Future<List<IssueLabel>>? getIssueLabels(RepositorySlug slug, int issueNumber) async {
return github.issues.listLabelsByIssue(slug, issueNumber).toList();
Copy link
Contributor

Choose a reason for hiding this comment

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

Does github.issues.listLabelsByIssue return a nullable list?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! If there are no labels, it returns an empty list. Updated.

Copy link
Contributor

@ricardoamador ricardoamador left a comment

Choose a reason for hiding this comment

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

LGTM

@keyonghan keyonghan added the autosubmit Merge PR when tree becomes green via auto submit App. label Jan 9, 2024
@auto-submit auto-submit bot merged commit fcf4cf7 into flutter:main Jan 9, 2024
@keyonghan keyonghan deleted the packages_override_label branch March 13, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[packages] Override labels no longer update on re-runs

2 participants