soundcheck/github-fact-collector.yaml (15 lines of code) (raw):
---
frequency:
cron: '*/5 * * * 1-5'
filter:
kind: 'Component'
cache:
duration:
hours: 2
collects:
- factName: repo_details
type: RepositoryDetails
cache: true
- factName: protections
type: BranchProtections
cache: true