We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f43591f + a41ca6c commit b76c81bCopy full SHA for b76c81b
evergreen.py
@@ -90,8 +90,12 @@ def main(): # pragma: no cover
90
91
# Create a dependabot.yaml file, a branch, and a PR
92
if not skip:
93
- pull = commit_changes(title, body, repo, dependabot_file)
94
- print("\tCreated pull request " + pull.html_url)
+ try:
+ pull = commit_changes(title, body, repo, dependabot_file)
95
+ print("\tCreated pull request " + pull.html_url)
96
+ except github3.exceptions.NotFoundError:
97
+ print("\tFailed to create pull request. Check write permissions.")
98
+ continue
99
100
print("Done. " + str(count_eligible) + " repositories were eligible.")
101
0 commit comments