@@ -208,6 +208,8 @@ def build_dependabot_file(
208208 )
209209 break
210210 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
211213 pass
212214
213215 # detect package managers with variable file names
@@ -227,6 +229,8 @@ def build_dependabot_file(
227229 )
228230 break
229231 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
230234 pass
231235 if "github-actions" not in exempt_ecosystems_list :
232236 try :
@@ -244,6 +248,8 @@ def build_dependabot_file(
244248 )
245249 break
246250 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
247253 pass
248254 if "devcontainers" not in exempt_ecosystems_list :
249255 try :
@@ -261,6 +267,8 @@ def build_dependabot_file(
261267 )
262268 break
263269 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
264272 pass
265273
266274 if any (package_managers_found .values ()):
0 commit comments