
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
tinacms-gitprovider-github
Advanced tools
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the `createDatabase` function.
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the createDatabase
function.
import { GithubProvider } from 'tinacms-gitprovider-github'
// database.{ts,js}
//...
export default isLocal ? createLocalDatabase() ? createDatabase({
gitProvider: new GitHubProvider({
branch: process.env.GITHUB_BRANCH,
owner: process.env.GITHUB_OWNER,
repo: process.env.GITHUB_REPO,
token: process.env.GITHUB_PERSONAL_ACCESS_TOKEN,
}),,
// ...
})
Option | Description |
---|---|
branch | The branch to save content to. |
owner | The owner of the repo. |
repo | The repo to save content to. |
token | A Github Personal Access Token. |
Option | Description |
---|---|
commitMessage | The commit message to use when saving content. Defaults to Edited with TinaCMS . |
rootPath | This path will be prefixed to all paths (good for monorepos) |
octokitOptions | Options passed to the Octokit constructor |
FAQs
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the `createDatabase` function.
The npm package tinacms-gitprovider-github receives a total of 850 weekly downloads. As such, tinacms-gitprovider-github popularity was classified as not popular.
We found that tinacms-gitprovider-github demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.