def METHOD_NAME(self, checks_results, check):
    report = Report(CheckType.GITHUB_ACTIONS)
    first_results_key = list(checks_results.keys())[0]
    for check_result in checks_results[first_results_key]:
        entity = check_result["entity"]
        record = Record(
            check_id=check["id"],
            check_name=check["name"],
            check_result=check_result,
            code_block=[(0, "")],
            file_path=entity.get(CustomAttributes.FILE_PATH),
            file_line_range=[entity.get("__startline__"), entity.get("__endline__")],
            resource=entity.get(CustomAttributes.RESOURCE_TYPE),
            entity_tags=entity.get("tags", {}),
            evaluations=None,
            check_class="",
            file_abs_path=entity.get(CustomAttributes.FILE_PATH),
        )
        if check_result["result"] == CheckResult.PASSED:
            report.passed_checks.append(record)
        if check_result["result"] == CheckResult.FAILED:
            report.failed_checks.append(record)
    return report