Here you will find a collection of used GitHub scripts.
Monthly Undefined Repo Owner Report
Automates identification of repositories missing the repoOwner
property, preventing Snyk scans for vulnerabilities. The script generates a monthly Excel report listing affected repositories, including last commit dates.
- Fetch Repositories: Retrieves all unarchived repositories in the organization.
- Check
repoOwner
: Identifies repositories withrepoOwner
set to'undefined'
. - Fetch Last Commit: Gets the last commit date for each affected repository.
- Generate Report: Creates an Excel file (
undefined_repo_owner_<date>.xlsx
) with repository names, prefixes, and commit dates.
- Automatically send out emails to CCQ with the Excel file