chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs
https://kodiakhq.com
GNU Affero General Public License v3.0
1.03k stars 65 forks source link

fix(bot): owner/.github repos being null #733

Closed chdsbd closed 2 years ago

chdsbd commented 2 years ago

Before this change, if an installation didn't have a .github repository, the GraphQL API request would error because we would provide a null value for the file expressions, when they're typed as non-null in the query.

Marking these arguments as nullable in the query resolves this issue.