Skip to content

Commit f5c4243

Browse files
committed
[CI] Update Dangerfile to set api: firebaseai label
1 parent eac155f commit f5c4243

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dangerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def labelsForModifiedFiles()
5656
labels.push("api: crashlytics") if @has_crashlytics_changes
5757
labels.push("api: database") if @has_database_changes
5858
labels.push("api: dynamiclinks") if @has_dynamiclinks_changes
59+
labels.push("api: firebaseai") if @has_firebaseai_changes
5960
labels.push("api: firestore") if @has_firestore_changes
6061
labels.push("api: functions") if @has_functions_changes
6162
labels.push("api: inappmessaging") if @has_inappmessaging_changes
@@ -64,7 +65,6 @@ def labelsForModifiedFiles()
6465
labels.push("api: performance") if @has_performance_changes
6566
labels.push("api: remoteconfig") if @has_remoteconfig_changes
6667
labels.push("api: storage") if @has_storage_changes
67-
labels.push("api: vertexai") if @has_vertexai_changes
6868
labels.push("release-tooling") if @has_releasetooling_changes
6969
labels.push("public-api-change") if @has_api_changes
7070
return labels
@@ -94,15 +94,15 @@ has_license_changes = didModify(["LICENSE"])
9494
"Crashlytics",
9595
"Database",
9696
"DynamicLinks",
97+
"FirebaseAI",
9798
"Firestore",
9899
"Functions",
99100
"InAppMessaging",
100101
"Installations",
101102
"Messaging",
102103
"Performance",
103104
"RemoteConfig",
104-
"Storage",
105-
"VertexAI"
105+
"Storage"
106106
]
107107

108108
## Product directories
@@ -134,6 +134,10 @@ has_license_changes = didModify(["LICENSE"])
134134
@has_database_api_changes = hasChangesIn("FirebaseDatabase/Sources/Public/")
135135
@has_dynamiclinks_changes = hasChangesIn("FirebaseDynamicLinks")
136136
@has_dynamiclinks_api_changes = hasChangesIn("FirebaseDynamicLinks/Sources/Public/")
137+
@has_firebaseai_changes = hasChangesIn([
138+
"FirebaseAI",
139+
"FirebaseVertexAI"
140+
])
137141
@has_firestore_changes = hasChangesIn(["Firestore/", "FirebaseFirestore.podspec"])
138142
@has_firestore_api_changes = hasChangesIn("Firestore/Source/Public/")
139143
@has_functions_changes = hasChangesIn(["FirebaseFunctions"])
@@ -149,7 +153,6 @@ has_license_changes = didModify(["LICENSE"])
149153
@has_remoteconfig_changes = hasChangesIn("FirebaseRemoteConfig")
150154
@has_remoteconfig_api_changes = hasChangesIn("FirebaseRemoteConfig/Sources/Public/")
151155
@has_storage_changes = hasChangesIn("FirebaseStorage")
152-
@has_vertexai_changes = hasChangesIn("FirebaseVertexAI")
153156

154157
@has_releasetooling_changes = hasChangesIn("ReleaseTooling/")
155158
@has_public_additions = hasAdditionsIn("Public/")

0 commit comments

Comments
 (0)