IMPORTANT
Your data will not be collected by other services, and will be persisted in your own TiDB Serverless cluster. Make sure you have secured your site if you want this feature.
By default, OSSInsight lite uses a default GitHub Access Token (aka github-action[bot]) to fetch your data. This bot has no permission to your private repos or protected organization repos. To enable data pipeline to fetch your private data, you need some extra steps to fetch data and secure your site.
Steps:
Personal Access Token will have access to your private repository, do not share it to anyone.
You need to generate a GitHub Access Token with permissions. Goto GitHub Personal Token management page, and create a classic token
It's recommended to set Expiration
to No expiration
to prevent regularly manual updating. No extra permissions is
needed to collect only personal private repository.
- Goto
Settings
/Secrets and variables
/Actions
page of your forked repository. - Click
New repository secret
button at right top of the page - Set
ACCESS_TOKEN
to your generated token above.
Once your ACCESS_TOKEN
correctly set, your pipeline will have read permission to your private repositories at next
run.
You could manually trigger workflow at Actions
/ GitHub Data Pipeline
instead of waiting scheduled run.
After the pipeline is done, your private repository data should be accessible on your site.