Skip to content

[CI] Update Dangerfile to set api: firebaseai label #14870

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

Merged
merged 1 commit into from
May 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def labelsForModifiedFiles()
labels.push("api: crashlytics") if @has_crashlytics_changes
labels.push("api: database") if @has_database_changes
labels.push("api: dynamiclinks") if @has_dynamiclinks_changes
labels.push("api: firebaseai") if @has_firebaseai_changes
labels.push("api: firestore") if @has_firestore_changes
labels.push("api: functions") if @has_functions_changes
labels.push("api: inappmessaging") if @has_inappmessaging_changes
Expand All @@ -64,7 +65,6 @@ def labelsForModifiedFiles()
labels.push("api: performance") if @has_performance_changes
labels.push("api: remoteconfig") if @has_remoteconfig_changes
labels.push("api: storage") if @has_storage_changes
labels.push("api: vertexai") if @has_vertexai_changes
labels.push("release-tooling") if @has_releasetooling_changes
labels.push("public-api-change") if @has_api_changes
return labels
Expand Down Expand Up @@ -94,15 +94,15 @@ has_license_changes = didModify(["LICENSE"])
"Crashlytics",
"Database",
"DynamicLinks",
"FirebaseAI",
"Firestore",
"Functions",
"InAppMessaging",
"Installations",
"Messaging",
"Performance",
"RemoteConfig",
"Storage",
"VertexAI"
"Storage"
]

## Product directories
Expand Down Expand Up @@ -134,6 +134,10 @@ has_license_changes = didModify(["LICENSE"])
@has_database_api_changes = hasChangesIn("FirebaseDatabase/Sources/Public/")
@has_dynamiclinks_changes = hasChangesIn("FirebaseDynamicLinks")
@has_dynamiclinks_api_changes = hasChangesIn("FirebaseDynamicLinks/Sources/Public/")
@has_firebaseai_changes = hasChangesIn([
"FirebaseAI",
"FirebaseVertexAI"
])
@has_firestore_changes = hasChangesIn(["Firestore/", "FirebaseFirestore.podspec"])
@has_firestore_api_changes = hasChangesIn("Firestore/Source/Public/")
@has_functions_changes = hasChangesIn(["FirebaseFunctions"])
Expand All @@ -149,7 +153,6 @@ has_license_changes = didModify(["LICENSE"])
@has_remoteconfig_changes = hasChangesIn("FirebaseRemoteConfig")
@has_remoteconfig_api_changes = hasChangesIn("FirebaseRemoteConfig/Sources/Public/")
@has_storage_changes = hasChangesIn("FirebaseStorage")
@has_vertexai_changes = hasChangesIn("FirebaseVertexAI")

@has_releasetooling_changes = hasChangesIn("ReleaseTooling/")
@has_public_additions = hasAdditionsIn("Public/")
Expand Down
Loading