@@ -208,6 +208,8 @@ def build_dependabot_file(
208
208
)
209
209
break
210
210
except github3 .exceptions .NotFoundError :
211
+ # The file does not exist and is not required,
212
+ # so we should continue to the next one rather than raising error or logging
211
213
pass
212
214
213
215
# detect package managers with variable file names
@@ -227,6 +229,8 @@ def build_dependabot_file(
227
229
)
228
230
break
229
231
except github3 .exceptions .NotFoundError :
232
+ # The file does not exist and is not required,
233
+ # so we should continue to the next one rather than raising error or logging
230
234
pass
231
235
if "github-actions" not in exempt_ecosystems_list :
232
236
try :
@@ -244,6 +248,8 @@ def build_dependabot_file(
244
248
)
245
249
break
246
250
except github3 .exceptions .NotFoundError :
251
+ # The file does not exist and is not required,
252
+ # so we should continue to the next one rather than raising error or logging
247
253
pass
248
254
if "devcontainers" not in exempt_ecosystems_list :
249
255
try :
@@ -261,6 +267,8 @@ def build_dependabot_file(
261
267
)
262
268
break
263
269
except github3 .exceptions .NotFoundError :
270
+ # The file does not exist and is not required,
271
+ # so we should continue to the next one rather than raising error or logging
264
272
pass
265
273
266
274
if any (package_managers_found .values ()):
0 commit comments