Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deining/docsy-metrics
Metrics for docsy repo
https://github.com/deining/docsy-metrics
Last synced: about 2 months ago
JSON representation
Metrics for docsy repo
- Host: GitHub
- URL: https://github.com/deining/docsy-metrics
- Owner: deining
- License: mit
- Created: 2023-07-30T10:01:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-19T13:12:15.000Z (11 months ago)
- Last Synced: 2024-10-12T22:32:06.006Z (3 months ago)
- Language: Shell
- Size: 348 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Oselvar GitHub Metrics
The [data](./data) directory contains [Oselvar CSV](https://github.com/oselvar/connector/#oselvar-csv)
for the GitHub repositories listed in [repositories.txt](./repositories.txt).The CSV files are updates hourly by a [GitHub Action](./.github/workflows/oselvar.yml).
View charts for this data at [oselvar.com]
## Publish your own Oselvar Metrics
You can publish metrics for repositories in you own GitHub organisation and view them on https://oselvar.com/
To do this you need to set up a fork of this repository to host your data.1. Click the green `Use this template` button or follow [this link](https://github.com/oselvar/oselvar-github-metrics/generate).
1. Modify [repositories.txt](./repositories.txt) and list your GitHub organisation's repositories.
If you want to override the default stages in the generated CSV, you can add a `;` after the repo name,
followed by a comma-separated list of stages.
1. Commit and push your changes.
1. Go to [oselvar.com] to see your data.See [Oselvar Connector](https://github.com/oselvar/connector/) for more details, or print the help:
npx @oselvar/connector-github@latest --help
## Using a personal GitHub token
The `GITHUB_TOKEN` provided by GitHub Actions is used by default to extract data from GitHub issues.
There are some situations where you may want to use a `PERSONAL_GITHUB_TOKEN` instead:* If you want to extract data from GitHub issues in a different organisation.
* If your GitHub Action job fails with an error message like `GraphqlError: Resource not accessible by integration`.Follow these steps:
1. Create a [new personal access token](https://github.com/settings/tokens/new) with `public_repo` scope. *Copy it to your clipboard*.
1. Store your new token in a new `PERSONAL_GITHUB_TOKEN` repository secret via `Settings` -> `Secrets` -> `New repository secret`.The next time your GitHub Action runs, it will pick up `PERSONAL_GITHUB_TOKEN` instead of `GITHUB_TOKEN`.
[oselvar.com]: https://oselvar.com/github/oselvar/oselvar-github-metrics/main