Identifying Underutilized Features

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 12 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Lesson: Identifying Underutilized Features in GitHub Enterprise

Introduction: The Hidden Costs of Feature Bloat

In the modern software development lifecycle, GitHub has evolved from a simple version control hosting service into a comprehensive platform for project management, security scanning, automation, and infrastructure hosting. For enterprise organizations, this expansion brings immense value, but it also introduces the risk of "feature sprawl." When an organization pays for an enterprise-tier license, they are often paying for a vast suite of tools—GitHub Advanced Security (GHAS), Codespaces, Actions, Projects, and Packages—that may not be fully adopted across all teams.

Identifying underutilized features is not merely an exercise in cost-cutting; it is a critical strategy for operational efficiency. When features are ignored or partially adopted, they often create "shadow IT" or fragmented workflows where different teams use disparate third-party tools to compensate for functionality they don't realize is already available within their GitHub subscription. Conversely, some organizations pay for premium features that remain dormant, leading to significant budget leakage. This lesson will guide you through the process of auditing your GitHub Enterprise usage, identifying where features are languishing, and determining whether to sunset, retrain, or double down on those capabilities.

Not read yet

Understanding the Enterprise Usage Landscape

To effectively identify underutilized features, you must first understand what "utilization" looks like for different GitHub components. Utilization is rarely binary; it exists on a spectrum. For example, GitHub Actions might be used heavily for CI/CD, but the organization might be failing to use environment-level protections or reusable workflows. Similarly, GitHub Advanced Security might be enabled but lacking custom query suites, rendering the secret scanning or code scanning tools less effective than they could be.

The Lifecycle of Feature Adoption

Most enterprises move through a predictable cycle when adopting new GitHub features:

  1. Discovery: The feature is announced or requested by a single team.
  2. Pilot: A small group tests the feature, often using "sandbox" repositories.
  3. Partial Implementation: Success leads to adoption by other teams, but without standardized configurations.
  4. Stagnation: The feature becomes "set and forget," where it is enabled but not updated or optimized for current security standards.
  5. Obsolescence: New tools or better internal processes replace the feature, but it remains active, incurring costs or maintenance overhead.

By auditing your organization, you can pinpoint exactly where in this lifecycle each feature sits.

Callout: Feature Adoption vs. Feature Value It is important to distinguish between high usage and high value. A feature might have high usage metrics—such as thousands of GitHub Actions runs—but if those runs are redundant, inefficient, or failing frequently, the "value" is low. Conversely, a low-usage feature like GitHub Projects might be highly valuable for a small, mission-critical team. Always correlate usage metrics with qualitative feedback from your developers.

Not read yet

Auditing GitHub Actions Usage

GitHub Actions is often the largest consumer of resources in an enterprise account. Because it is so flexible, teams frequently create inefficient workflows that consume unnecessary minutes or leave cache storage bloated.

Identifying Inefficient Workflows

To identify underutilized or misused Actions, you need to look at execution patterns. Are your workflows running on every push, even when documentation changes? Are they using self-hosted runners that sit idle for 20 hours a day?

Step-by-Step Audit Process:

  1. Access Usage Metrics: Navigate to the "Usage" tab in your Enterprise settings. Review the breakdown of minutes consumed by GitHub-hosted runners versus self-hosted runners.
  2. Review Workflow Success Rates: A workflow that fails 50% of the time is a clear sign of a broken process or poor developer experience.
  3. Analyze Cache Usage: Check the storage metrics for your organization. Large, unoptimized caches are a common sign that teams are not utilizing actions/cache effectively or are failing to clean up old dependencies.

Code Example: Identifying Heavy Workflow Consumers

You can use the GitHub API to list all workflows and their recent run counts. This script snippet (using GitHub CLI) helps identify which repositories are triggering the most workflow runs.

# Get a list of repositories and their workflow run counts
gh api graphql -f query='
query($org: String!) {
  organization(login: $org) {
    repositories(first: 100) {
      nodes {
        name
        workflowRuns(first: 1) {
          totalCount
        }
      }
    }
  }
}' -f org="your-org-name"

Explanation: This query fetches the repository names and the total count of workflow runs. By sorting the output, you can identify "noisy" repositories that might be triggering builds unnecessarily.

Note: When auditing Actions, look for "orphan" workflows—workflows that exist in repositories that are no longer actively maintained but are still triggering runs due to cron schedules or automated triggers.

Not read yet

Auditing GitHub Advanced Security (GHAS)

GitHub Advanced Security is a premium offering that includes secret scanning, code scanning, and dependency graph monitoring. Because of its cost, it is the most common target for optimization.

Common Pitfalls in GHAS Adoption

The most common mistake is enabling GHAS at the organization level but failing to enforce policies at the repository level. This results in a "false sense of security" where some repositories are fully protected, while others remain vulnerable.

Key Indicators of GHAS Underutilization:

  • High False Positive Rates: If developers are constantly dismissing alerts as "false positives," the tool is not configured correctly for your specific tech stack.
  • Lack of Custom Rule Sets: Relying solely on default query suites often misses language-specific vulnerabilities relevant to your internal architecture.
  • Low Remediation Velocity: If alerts are being generated but remaining open for months, the tool is being used for reporting, not for security.

Best Practices for GHAS Optimization

  1. Centralize Policy Management: Use repository rulesets to enforce that code scanning must pass before a merge can occur.
  2. Automate Alert Remediation: Integrate security alerts with your existing ticketing systems (like Jira or ServiceNow) to ensure visibility.
  3. Regularly Prune Repositories: If a repository is archived, ensure that GHAS licenses are reclaimed by disabling security features on that specific repository.

Not read yet

Evaluating GitHub Codespaces

Codespaces provides cloud-hosted development environments. It is a powerful tool for onboarding, but it is also a significant expense if developers are spinning up large, multi-core instances and leaving them running indefinitely.

Managing Idle Codespaces

The most effective way to identify underutilized Codespaces is by monitoring "idle time." If a developer spins up a 16-core machine to work on a small web project and leaves it running over the weekend, the enterprise is paying for that idle compute.

Recommended Configuration for Optimization:

  • Set Idle Timeouts: Enforce a strict organization-wide idle timeout (e.g., 30 minutes).
  • Limit Machine Types: Restrict the availability of high-memory/high-CPU instances to only those teams that truly require them.
  • Automated Cleanup: Use the GitHub API to identify and delete Codespaces that have not been accessed in over 14 days.

Warning: Do not set idle timeouts so aggressively that developers lose work. Always communicate these changes before enforcement, as unexpected shutdowns can lead to frustration and decreased productivity.

Not read yet

Comparing Features: What to Keep vs. What to Sunset

Sometimes, the best optimization is removal. If a feature is not gaining traction despite training and support, it may be better to remove it to reduce complexity for your developers.

Feature Comparison Table

Feature Primary Value Indicator of Underutilization Action to Take
GitHub Projects Project management Low card movement, stagnant boards Consolidate onto fewer, active boards
GitHub Packages Artifact storage Low download counts, stale versions Implement automated lifecycle policies
GitHub Actions CI/CD automation High failure rate, redundant triggers Refactor workflows, optimize caching
Codespaces Dev environments High idle time, few active sessions Adjust timeout policies, limit machine types
GHAS Security scanning High false positives, low fix rate Tune custom query suites, provide training

The Role of GitHub Enterprise Insights

GitHub provides built-in "Insights" dashboards that act as your primary source of truth. Many administrators overlook these dashboards, preferring to build their own custom reporting tools. However, the native insights provide a direct view into adoption trends over time.

Navigating the Insights Dashboard

  1. Activity Overview: Look for trends in pull request volume, issue creation, and commit frequency. If activity is trending downward in a specific department, investigate whether they have migrated to another platform or if they are struggling with the current tooling.
  2. Contributor Metrics: Identify "inactive" users who still occupy a seat license. This is the simplest way to trim costs.
  3. Repository Activity: Filter by "last updated." Repositories with no activity for 12 months should be reviewed for archiving.

Not read yet

Best Practices for Enterprise Optimization

To maintain a healthy GitHub ecosystem, you must move away from "one-time audits" toward a culture of continuous optimization.

1. Implement "Infrastructure as Code" for GitHub

Treat your GitHub organization configuration as code. Use Terraform or the GitHub API to manage repository settings, branch protection rules, and team permissions. This ensures that you can audit your configuration in version control rather than hunting through the UI.

2. Establish a "Feature Champion" Program

For every major feature (like GHAS or Actions), appoint a champion within the engineering organization. This person is responsible for ensuring that teams are using the feature correctly and providing feedback to the administrative team. This prevents the "ivory tower" administration model where IT sets rules that developers find useless.

3. Standardize, Don't Dictate

Provide "Golden Path" templates for GitHub Actions and Codespaces configurations. When teams have a pre-approved, optimized template to start with, they are far less likely to create inefficient, custom configurations that require later cleanup.

4. Create a Feedback Loop

Every month, send a brief survey or hold an open office hour for developers. Ask: "What feature is currently slowing you down?" or "What tool are you using outside of GitHub that you wish GitHub provided?" This keeps the focus on developer velocity rather than just cost.

Not read yet

Common Pitfalls and How to Avoid Them

Pitfall 1: The "License Hoarding" Trap

Many organizations buy more licenses than they need, assuming they will grow into them. This leads to "seat rot," where inactive accounts remain active.

  • Avoidance: Automate the removal of users who have not logged in for 90 days. Use Single Sign-On (SSO) integration to automatically de-provision users when they leave the company.

Pitfall 2: Ignoring Developer Friction

When you remove or restrict features to save money, you may inadvertently create friction that slows down development.

  • Avoidance: Always perform a cost-benefit analysis. If saving $500 a month on compute costs results in 50 developers losing 10 minutes a day due to slower environments, you are losing money in the long run.

Pitfall 3: Feature "Enablement" without Education

Enabling a feature is not the same as adopting a feature. Simply turning on GHAS is useless if your developers don't understand how to interpret and resolve the alerts.

  • Avoidance: Pair every new feature launch with documentation, training sessions, and internal "office hours."

Callout: The "Shadow IT" Risk When you restrict features or make them difficult to use, developers will find alternatives. If you restrict GitHub Actions, they might start using external CI/CD tools that are outside your security perimeter. Always ensure that the "official" path is the "easiest" path.

Not read yet

Strategic Review: The Quarterly Audit

To ensure your GitHub Enterprise instance remains optimized, conduct a quarterly review using this checklist:

  1. License Audit: Are there inactive users? Are external collaborators still needed?
  2. Storage Audit: Are there massive, abandoned repositories? Are there caches that can be cleared?
  3. Resource Audit: Are there high-cost Actions runners that are rarely used?
  4. Security Audit: Are there repositories with GHAS enabled that have zero alerts (which might indicate a misconfiguration)?
  5. Workflow Audit: Are there workflows that are failing consistently or taking an inordinate amount of time?

Automating the Audit Process

Manual auditing is prone to error and quickly becomes outdated. You should aim to automate as much of this as possible.

Example: Automating Inactive Repository Identification

You can use a script to find repositories that haven't been pushed to in a year and output them to a report.

import requests
import datetime

# Pseudo-code for identifying stale repositories
def get_stale_repos(org_name, token):
    url = f"https://api.github.com/orgs/{org_name}/repos"
    headers = {"Authorization": f"token {token}"}
    response = requests.get(url, headers=headers)
    repos = response.json()
    
    stale_repos = []
    threshold = datetime.datetime.now() - datetime.timedelta(days=365)
    
    for repo in repos:
        last_push = datetime.datetime.strptime(repo['pushed_at'], "%Y-%m-%dT%H:%M:%SZ")
        if last_push < threshold:
            stale_repos.append(repo['name'])
            
    return stale_repos

Explanation: This script pulls all repositories for an organization and compares the pushed_at timestamp against a one-year threshold. This allows you to generate a report of potentially archive-worthy repositories automatically.

Not read yet

Integrating Security and Compliance

When auditing underutilized features, pay special attention to those related to compliance. Features like "Required Workflows" or "Environment Protection Rules" are often ignored, yet they are vital for enterprise security. If these are underutilized, the issue is likely not cost, but lack of awareness or poor implementation.

The Importance of Policy Enforcement

If you find that teams are bypassing security checks, do not simply try to "catch" them. Analyze why they are bypassing them. Is the check too slow? Does it produce too many false positives? Fixing the underlying performance of the security tool is often more effective than stricter enforcement.

Managing Organizational Growth

As your organization grows, the number of teams and repositories will explode. You cannot manually manage every feature. You must move toward a model of "Self-Service Governance."

  • Self-Service: Provide teams with the tools to manage their own environments, but provide them with "guardrails" (like organization-level policies) that they cannot bypass.
  • Governance: Use GitHub's "Organization Rulesets" to ensure that while teams have flexibility, they still adhere to baseline security and quality standards.

Not read yet

Summary: Key Takeaways for Enterprise Success

  1. Usage is not Value: High usage doesn't mean a feature is helpful, and low usage doesn't mean it's useless. Always measure value through developer feedback and business outcomes.
  2. Automate the Audit: Use the GitHub API and CLI to track usage metrics. Manual reviews are insufficient for any organization with more than a few dozen repositories.
  3. Prioritize Developer Experience: Never sacrifice developer velocity for cost savings without a clear understanding of the trade-offs. The goal is to make the secure, efficient way the easiest way to work.
  4. Lifecycle Management: Treat your GitHub features like software products. They have a beginning, a middle, and an end. Don't be afraid to sunset features that no longer serve the organization.
  5. Continuous Optimization: Move from periodic "cleanup" projects to a culture of continuous monitoring and improvement.
  6. Centralize Policy, Decentralize Execution: Provide teams with the autonomy to build their own workflows, but enforce company-wide security and compliance standards via repository rulesets.
  7. Clean Up Inactive Assets: Regularly archive stale repositories, remove inactive users, and purge unused CI/CD runners to keep your instance clean and cost-effective.

Not read yet

Common Questions (FAQ)

Q: How often should I perform an audit of my GitHub Enterprise usage? A: A comprehensive audit should be performed at least quarterly. However, you should set up automated alerts for high-cost items (like massive storage growth) to address issues in real-time.

Q: What is the biggest mistake organizations make when managing GitHub Enterprise? A: The biggest mistake is "feature bloat"—enabling every feature available in the enterprise license without a clear plan for how teams should use them or how they will be maintained.

Q: Is it safe to delete workflows that look inactive? A: Never delete without investigation. A workflow might only run once a year for a special audit or compliance process. Always reach out to the repository owner before deleting or archiving anything.

Q: How do I handle pushback from teams when I try to optimize their workflows? A: Frame the conversation around their goals. If you help them optimize their workflows, they get faster build times and a better development experience. Frame it as "improving developer velocity," not "cutting costs."

Q: Can I use GitHub's own tools to monitor usage, or do I need third-party software? A: GitHub’s native Insights and Enterprise usage reports are usually sufficient for most organizations. Third-party tools are only necessary if you need highly complex, cross-platform reporting or custom dashboarding that goes beyond what GitHub provides natively.

By systematically applying these strategies, you ensure that your GitHub Enterprise investment provides maximum value to your organization while minimizing waste, complexity, and security risk. Remember that your goal is to empower developers to build great software, and the best way to do that is to provide a clean, efficient, and well-governed platform.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.