GitHub version control is used
Checks that at least the configured number of repositories in the GitHub organization had a recent push, so code changes are kept under version control.

This check verifies that your organization keeps its source code in GitHub and works in it: at least the number of repositories you set had a recent push. It is the base the other repository checks build on. It answers the question an auditor asks: is your source code under version control, and can you show that you keep checking?
In short: ISOPlanner reads the repositories granted to the app and their last push through the ISOPlanner GitHub App, which an owner of your organization installs with read-only permissions. The run passes when at least the number of repositories you set had a push within the period you set. When fewer did, the run is rejected and a task is created that says how many were active and what to do. Every scheduled run is kept as evidence and is linked to the controls named below. The check is one of the six checks of the GitHub app in the Store; five of them share one connection.
What the check verifies
The check counts the repositories granted to the app, without archived repositories and forks unless you include them, and reads the date of the last push of each. A repository is active when it had a push within Active: a push within this many days. The run is accepted when at least Minimum number of active repositories are active. The check looks at the organization as a whole, so it has no repository selection.
| Framework | Controls this check gives evidence for |
|---|---|
| ISO 27001:2022 | A.8.4 Access to source code, A.8.32 Change management |
| SOC 2 | CC8.1 Change management |
| NIS2 Quality Mark (High) | 4.15 Controlled implementation of changes, 6.1 Access to the source code |
| NIS2 Quality Mark (Substantial) | 6.1 Access to the source code |
When you add the check, ISOPlanner links it to the controls in this table of the frameworks your organization uses, and to the controls of your other frameworks that are related to them. A framework you add later is linked the same way. The NIS2 Quality Mark has three levels (Basic, Substantial and High) and your organization uses one of them; each NIS2 row names the levels it applies to. You can change the links. The check is evidence for these controls; it does not cover them completely.
Before you start
- Automated control monitoring is part of the Business and Premium subscriptions of ISOPlanner.
- The check belongs to the GitHub app. Add the app first: go to Administration > Store, click More info on the GitHub tile and then Start free trial. The trial takes 30 days and renews into a paid subscription unless you cancel it. If your organization already uses another GitHub check, this check is already there.
- You need a licensed manager or administrator role in ISOPlanner to add the app and to set up the check.
- An organization on GitHub.com: personal accounts and GitHub Enterprise Server are not supported. The check works on every GitHub plan.
- An owner of the GitHub organization installs the ISOPlanner GitHub App and connects it in ISOPlanner; anyone else is refused.
- The app counts only the repositories granted to it. When it was installed for selected repositories, grant it the ones you want counted.
The app asks for these permissions, all read-only, in one set:
| Permission | Why |
|---|---|
| Repository: Administration (read) | Reads the branch protection rules. |
| Repository: Metadata (read) | Lists the granted repositories and reads the active rulesets. |
| Organization: Members (read) | Lists the members and outside collaborators, and confirms that you are an owner when you connect. |
| Organization: Administration (read) | Reads whether the organization requires two-factor authentication. |
1. Connect GitHub
You connect once. Five of the six GitHub checks use the same connection, the ISOPlanner GitHub App; GitHub CODEOWNERS file exists has one of its own.
- Go to Administration > Settings > Automation, open the tab Control monitoring and click the card GitHub version control is used.
- Under Authorization click Connect GitHub, then Continue to GitHub.
- Sign in on GitHub as an owner. If the app is not installed yet, choose the organization, all or selected repositories, and approve the read permissions.
- GitHub returns you to ISOPlanner, and the dialog says that it is connected to your GitHub organization.

Finish on GitHub within 15 minutes. ISOPlanner stores no password or token, only the installation. To change which repositories the app sees, or to remove it, click Manage on GitHub; Reconnect GitHub connects again.
2. Set the options
Click Test under Test and manage results, then Options.
| Option | What it does |
|---|---|
| Minimum number of active repositories | 1 by default, from 1 to 1000. The run passes when at least this many repositories are active. |
| Active: a push within this many days | 90 by default, from 0 to 3650. 0 counts every repository that ever had a push. |
| Include archived repositories | Off by default. |
| Include forks | Off by default. |
The check counts up to 2,000 repositories. The result table shows the 50 most recently pushed.
3. Test and read the result
The test starts when you open the dialog; Run starts it again after you change the options. A test shows the result and stores nothing.

| Column | What it shows |
|---|---|
| Repository | The repository, with archived or fork after it when it is one. |
| Visibility | Public, Private or Internal. |
| Default branch | The default branch of the repository. |
| Last push | The date and time of the last push, or Never. |
| Active | Yes when the last push is within the period. |
Above the table the result reads Compliant or Not compliant, with a line naming the organization, the number of repositories, how many were active in the period and the minimum.
In this example the only repository had a push in the last 90 days and one is required: Compliant, and Run outcome: is Evidence Accepted.
4. Schedule and switch on
- In the test dialog choose the Incident response template: the task template ISOPlanner uses when a run is rejected. Give the template an assignee.
- Under Set a schedule click Schedule. The check can run daily at most.
- Under Status switch the check to Active.
From then on every run stores Evidence Accepted or Evidence Rejected. A rejected run creates a task from the template with one checklist item that says how many repositories were active and what to do. How the results show in the annual plan, on dashboards and on the controls is in Automated Control Monitoring.
The statuses at a glance
Activity per repository
| Found | Meaning | What to do |
|---|---|---|
| Yes | A push within the period. The repository counts as active. | Nothing. |
| No | No push within the period, or never a push. The repository does not count. | Nothing, unless too few repositories are active (see the questions). |
The outcome of a run and the status of the check
| Status | Meaning |
|---|---|
| Evidence Accepted | At least the minimum number of repositories was active. |
| Evidence Rejected | Fewer repositories were active than the minimum, or none of the granted repositories fits the options. |
| Active | The check runs on its schedule. |
| Needs Attention | The check is switched on but the GitHub connection is not authorized, for example because the app was removed or suspended, or a new permission was not accepted. |
| Disabled | The check does not run. This is the status right after you add the app. |
Questions and troubleshooting
Fewer repositories are active than the minimum
Either the code is worked on elsewhere, or the app does not see the repositories in use. Grant them to the app on GitHub (Manage on GitHub), or adjust the period or the minimum and record why.
A repository is missing from the list
Only repositories granted to the app are counted, archived repositories and forks only when you include them. The table also shows only the 50 most recently pushed repositories.
No repository was counted
None of the repositories granted to the app fits the options. Grant repositories on GitHub, or include archived repositories or forks.
The minimum number of active repositories must be between 1 and 1000.
Enter a whole number in that range. The number of days must be between 0 and 3650.
Only an owner of the GitHub organization can connect it to ISOPlanner.
A member can only request the installation. An owner approves it on GitHub and clicks Connect GitHub.
The app was installed on a personal GitHub account.
Install it on your organization instead.
This GitHub installation could not be matched to your request.
The steps on GitHub took over 15 minutes or were started by someone else. Click Connect GitHub again.
The app is no longer installed, is suspended, or asks for a permission that was not accepted
The check shows Needs Attention. An owner fixes it on GitHub (Open on GitHub in the dialog), then tests the connection again.
I cannot delete the check
A check of an app you subscribe to cannot be removed, only switched to Disabled. To stop paying for the GitHub app, cancel it in the Store. The ISOPlanner GitHub App stays installed until an owner uninstalls it on GitHub (organization Settings > GitHub Apps).
Related articles
- Automated Control Monitoring: how control monitoring works, the trial and the price, the annual plan and the dashboards
- Store
- GitHub branch protection is enforced
- GitHub two-factor authentication is enforced
- GitHub force pushes are blocked
- GitHub pull requests need review
- GitHub CODEOWNERS file exists