class Fbe::FakeOctokit

def workflow_run_usage(_repo, _id)

Returns:
  • (Hash) - Billing and usage information for the workflow run

Parameters:
  • _id (Integer) -- The workflow run ID
  • _repo (String) -- The repository name
def workflow_run_usage(_repo, _id)
  {
    billable: {
      UBUNTU: {
        total_ms: 0,
        jobs: 1,
        job_runs: [
          {
            job_id: 1,
            duration_ms: 0
          }
        ]
      }
    },
    run_duration_ms: 53_000
  }
end