diff --git a/lib/plugins/rulesets.js b/lib/plugins/rulesets.js index a62b5d91..de68c384 100644 --- a/lib/plugins/rulesets.js +++ b/lib/plugins/rulesets.js @@ -53,6 +53,7 @@ module.exports = class Rulesets extends Diffable { }) this.log(listOptions) return this.github.paginate(listOptions) + .filter(ruleset => ruleset.source_type === 'Repository') .then(res => { const rulesets = res.map(ruleset => { const getOptions = this.github.request.endpoint.merge('GET /repos/{owner}/{repo}/rulesets/{id}', {