{"id":16698084,"url":"https://github.com/arlac77/github-repository-provider","last_synced_at":"2026-04-05T16:02:54.887Z","repository":{"id":26843363,"uuid":"110998868","full_name":"arlac77/github-repository-provider","owner":"arlac77","description":"repository provider for github","archived":false,"fork":false,"pushed_at":"2026-02-05T20:07:55.000Z","size":4490,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-05T20:58:53.222Z","etag":null,"topics":["github"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arlac77.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-11-16T17:02:36.000Z","updated_at":"2026-02-05T20:07:57.000Z","dependencies_parsed_at":"2023-10-11T01:20:07.698Z","dependency_job_id":"97034313-7e74-4f94-be53-c0666653e3ca","html_url":"https://github.com/arlac77/github-repository-provider","commit_stats":{"total_commits":2614,"total_committers":8,"mean_commits":326.75,"dds":"0.16717674062739096","last_synced_commit":"6bff5cb28401a29116542be47166ca697b8ed103"},"previous_names":[],"tags_count":890,"template":false,"template_full_name":null,"purl":"pkg:github/arlac77/github-repository-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fgithub-repository-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fgithub-repository-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fgithub-repository-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fgithub-repository-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arlac77","download_url":"https://codeload.github.com/arlac77/github-repository-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fgithub-repository-provider/sbom","scorecard":{"id":162040,"data":{"date":"2025-08-11","repo":{"name":"github.com/arlac77/github-repository-provider","commit":"0cf454b49a26718fba344ea16167608a97b52aaf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/pr_labeler.yml:6","Warn: no topLevel permission defined: .github/workflows/auto_approve.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:12","Warn: no topLevel permission defined: .github/workflows/codeql_analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/pr_labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/update_package_lock.yml:1","Warn: no topLevel permission defined: .github/workflows/update_readme_api.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto_approve.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/auto_approve.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_labeler.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/pr_labeler.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_package_lock.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/update_package_lock.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_package_lock.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/update_package_lock.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update_package_lock.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/update_package_lock.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_readme_api.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/update_readme_api.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_readme_api.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/update_readme_api.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update_readme_api.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/github-repository-provider/update_readme_api.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/update_package_lock.yml:30","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   5 out of   6 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD Zero Clause License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:47"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (26) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T13:45:24.505Z","repository_id":26843363,"created_at":"2025-08-16T13:45:24.505Z","updated_at":"2025-08-16T13:45:24.505Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29369344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github"],"created_at":"2024-10-12T17:50:43.302Z","updated_at":"2026-02-12T15:01:07.660Z","avatar_url":"https://github.com/arlac77.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/github-repository-provider.svg)](https://www.npmjs.com/package/github-repository-provider)\n[![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html)\n[![bundlejs](https://deno.bundlejs.com/?q=github-repository-provider\\\u0026badge=detailed)](https://bundlejs.com/?q=github-repository-provider)\n[![downloads](http://img.shields.io/npm/dm/github-repository-provider.svg?style=flat-square)](https://npmjs.org/package/github-repository-provider)\n[![GitHub Issues](https://img.shields.io/github/issues/arlac77/github-repository-provider.svg?style=flat-square)](https://github.com/arlac77/github-repository-provider/issues)\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Farlac77%2Fgithub-repository-provider%2Fbadge\\\u0026style=flat)](https://actions-badge.atrox.dev/arlac77/github-repository-provider/goto)\n[![Styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Known Vulnerabilities](https://snyk.io/test/github/arlac77/github-repository-provider/badge.svg)](https://snyk.io/test/github/arlac77/github-repository-provider)\n\n# github-repository-provider\n\nrepository provider for github\n\n\u003c!-- skip example --\u003e\n\n```javascript\nimport { GithubProvider } from 'github-repository-provider';\n\nconst config = GithubProvider.optionsFromEnvironment(process.env);\nconst provider = new GithubProvider(config);\nconst repository = await provider.repository(`myuser/repo1`);\n\nfor async (const entry of repository.entries('\\*_/_.md')) {\n  console.log(entry.name);\n  console.log(entry.string);\n}\n```\n\n# API\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### Table of Contents\n\n*   [GithubBranch](#githubbranch)\n    *   [Parameters](#parameters)\n    *   [writeEntry](#writeentry)\n        *   [Parameters](#parameters-1)\n    *   [commit](#commit)\n        *   [Parameters](#parameters-2)\n    *   [entry](#entry)\n        *   [Parameters](#parameters-3)\n    *   [entries](#entries)\n        *   [Parameters](#parameters-4)\n    *   [removeEntries](#removeentries)\n        *   [Parameters](#parameters-5)\n*   [GithubOwner](#githubowner)\n    *   [createRepository](#createrepository)\n        *   [Parameters](#parameters-6)\n    *   [deleteRepository](#deleterepository)\n        *   [Parameters](#parameters-7)\n*   [GithubProvider](#githubprovider)\n    *   [Examples](#examples)\n    *   [initializeRepositories](#initializerepositories)\n    *   [repositoryBases](#repositorybases)\n    *   [name](#name)\n    *   [instanceIdentifier](#instanceidentifier)\n*   [GithubPullRequest](#githubpullrequest)\n    *   [\\_merge](#_merge)\n        *   [Parameters](#parameters-8)\n    *   [update](#update)\n    *   [validMergeMethods](#validmergemethods)\n    *   [list](#list)\n        *   [Parameters](#parameters-9)\n    *   [open](#open)\n        *   [Parameters](#parameters-10)\n*   [GithubRepository](#githubrepository)\n    *   [commits](#commits)\n        *   [Parameters](#parameters-11)\n    *   [commitForSha](#commitforsha)\n        *   [Parameters](#parameters-12)\n    *   [tree](#tree)\n        *   [Parameters](#parameters-13)\n    *   [addTree](#addtree)\n        *   [Parameters](#parameters-14)\n    *   [initializeBranches](#initializebranches)\n    *   [initializeTags](#initializetags)\n    *   [url](#url)\n    *   [issuesURL](#issuesurl)\n    *   [homePageURL](#homepageurl)\n    *   [api](#api)\n    *   [update](#update-1)\n    *   [refId](#refid)\n        *   [Parameters](#parameters-15)\n    *   [\\_setRefId](#_setrefid)\n        *   [Parameters](#parameters-16)\n    *   [setRefId](#setrefid)\n        *   [Parameters](#parameters-17)\n    *   [deletePullRequest](#deletepullrequest)\n        *   [Parameters](#parameters-18)\n    *   [initializeHooks](#initializehooks)\n\n## GithubBranch\n\n**Extends Branch**\n\nBranch on GitHub.\n\n### Parameters\n\n*   `owner` \u0026#x20;\n*   `name` \u0026#x20;\n*   `options` \u0026#x20;\n\n### writeEntry\n\nWrites content into the branch\n\u003chttps://developer.github.com/v3/git/blobs/#get-a-blob\u003e\n\n#### Parameters\n\n*   `entry` **ContentEntry**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\\\u003cContentEntry\u003e** written content with sha values set\n\n### commit\n\n\u003chttps://developer.github.com/v3/git/trees/#create-a-tree\u003e\n\u003chttps://developer.github.com/v3/git/commits/#create-a-commit\u003e\n\u003chttps://developer.github.com/v3/git/refs/#update-a-reference\u003e\n\n#### Parameters\n\n*   `message` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `entries` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\\\u003cContentEntry\u003e**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\n### entry\n\n\u003chttps://developer.github.com/v3/repos/contents/#get-repository-content\u003e\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### entries\n\n#### Parameters\n\n*   `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))**\u0026#x20;\n\nReturns **AsyncGenerator\\\u003cContentEntry\u003e** all matching entries in the branch\n\n### removeEntries\n\n\u003chttps://developer.github.com/v3/repos/contents/\u003e\n\n#### Parameters\n\n*   `entries` **AsyncIterable\\\u003cContentEntry\u003e**\u0026#x20;\n\n## GithubOwner\n\n**Extends RepositoryGroup**\n\nRepresents github repo owner either\n\n*   users\n*   organization\n\n### createRepository\n\n\u003chttps://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user\u003e\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**  (optional, default `{}`)\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\\\u003cRepository\u003e** newly created repository\n\n### deleteRepository\n\n\u003chttps://developer.github.com/v3/repos/#delete-a-repository\u003e\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n## GithubProvider\n\n**Extends MultiGroupProvider**\n\n\u003c!-- skip-example --\u003e\n\nGitHub provider.\nLookup a repository.\nknown environment variables\n\n*   GITHUB\\_TOKEN or GH\\_TOKEN api token\n\n### Examples\n\n```javascript\nimport GithubProvider from 'github-repository-provider';\n\nconst ghp = new GithubProvider();\nconst r1 = ghp.repository('git@github.com:arlac77/github-repository-provider.git');\nconst r2 = ghp.repository('git://github.com/arlac77/github-repository-provider.git');\nconst r3 = ghp.repository('git+ssh://github.com/arlac77/github-repository-provider.git');\nconst r4 = ghp.repository('https://github.com/arlac77/github-repository-provider.git#master');\nconst r5 = ghp.repository('git+https://github.com/arlac77/github-repository-provider.git#master');\nconst r6 = ghp.repository('arlac77/github-repository-provider');\n// different ways to address the same repository\n```\n\n### initializeRepositories\n\n\u003chttps://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user\u003e\n\n### repositoryBases\n\nAll possible base urls\n\n*   github:\n*   \u003cgit@github.com\u003e\n*   git://github.com\n*   git+ssh://github.com\n*   \u003chttps://github.com\u003e\n*   git+\u003chttps://github.com\u003e\n\nReturns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** common base urls of all repositories\n\n### name\n\nWe are called github.\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** github\n\n### instanceIdentifier\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** default environment name prefix for the provider instance\n\n## GithubPullRequest\n\n**Extends PullRequest**\n\nGithub pull request.\n\n### \\_merge\n\n\u003chttps://developer.github.com/v3/pulls/#merge-a-pull-request\u003e\n\n#### Parameters\n\n*   `method`   (optional, default `\"MERGE\"`)\n\n### update\n\n### validMergeMethods\n\nAll valid merge methods.\n\nReturns **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** valid merge methods\n\n### list\n\n\u003chttps://developer.github.com/v3/pulls/#list-pull-requests\u003e\n\n#### Parameters\n\n*   `repository` **Repository**\u0026#x20;\n*   `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**  (optional, default `{}`)\n\n### open\n\n\u003chttps://developer.github.com/v3/pulls/#create-a-pull-request\u003e\n\n#### Parameters\n\n*   `source` **Branch**\u0026#x20;\n*   `destination` **Branch**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\n## GithubRepository\n\n**Extends Repository**\n\nRepository on GitHub.\n\n### commits\n\n\u003chttps://docs.github.com/en/rest/reference/commits#list-commits\u003e\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\nReturns **AsyncIterable\\\u003cCommit\u003e**\u0026#x20;\n\n### commitForSha\n\n\u003chttps://developer.github.com/v3/git/commits/#get-a-commit\u003e\n\n#### Parameters\n\n*   `sha` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e** response\n\n### tree\n\n*   **See**: \u003chttps://developer.github.com/v3/git/trees/\u003e\n\n#### Parameters\n\n*   `sha` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e\u003e**\u0026#x20;\n\n### addTree\n\n*   **See**: \u003chttps://developer.github.com/v3/git/trees/\u003e\n\n#### Parameters\n\n*   `updates` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e**\u0026#x20;\n*   `base` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** base tree sha\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e** newly created tree\n\n### initializeBranches\n\n\u003chttps://developer.github.com/v3/repos/branches/#list-branches\u003e\n\n### initializeTags\n\n\u003chttps://docs.github.com/en/rest/reference/repos#list-repository-tags\u003e\n\n### url\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** github https url\n\n### issuesURL\n\nDeliver the url of issue tracking system.\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### homePageURL\n\nDeliver the url of the repositories home page.\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### api\n\nAPI endpoint for ourselfs.\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### update\n\n\u003chttps://docs.github.com/de/rest/repos/repos?apiVersion=2022-11-28#update-a-repository\u003e\n\n### refId\n\nGet sha of a ref.\n\u003chttps://developer.github.com/v3/git/refs/\u003e\n\n#### Parameters\n\n*   `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** sha of the ref\n\n### \\_setRefId\n\n#### Parameters\n\n*   `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `sha` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### setRefId\n\n\u003chttps://docs.github.com/en/github-ae@latest/rest/git/refs#update-a-reference\u003e\n\n#### Parameters\n\n*   `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `sha` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e**\u0026#x20;\n\n### deletePullRequest\n\n\u003chttps://developer.github.com/v3/pulls/#update-a-pull-request\u003e\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### initializeHooks\n\n\u003chttps://developer.github.com/v3/repos/hooks/\u003e\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```shell\nnpm install github-repository-provider\n```\n\n# license\n\nBSD-2-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Fgithub-repository-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farlac77%2Fgithub-repository-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Fgithub-repository-provider/lists"}