Large runner without justification ================================== .. list-table:: :stub-columns: 1 :widths: 20 80 * - Rule ID - ``large_runner_justification`` * - Category - energy * - Severity - low A GPU or large runner is used but no compute-intensive steps (model training, heavy compilation) are present. Detection --------- ``pattern_matching`` — Regex or keyword matching on string field values. Examples -------- **Non-compliant:** .. code-block:: yaml jobs: lint: runs-on: ubuntu-latest-gpu steps: - uses: actions/checkout@v4 - run: npm run lint **Compliant:** .. code-block:: yaml jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: npm run lint **Fix**: Replace the GPU or large runner with a standard runner (ubuntu-latest) for lightweight tasks. Reserve large runners for compute-intensive workloads like model training or heavy compilation.